-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
47 lines (43 loc) · 1.47 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import os
from setuptools import setup
def read_file(filename):
basepath = os.path.dirname(os.path.dirname(__file__))
filepath = os.path.join(basepath, filename)
if os.path.exists(filepath):
return open(filepath).read()
else:
return ''
setup(
name='bpmappers',
version='1.3',
description='bpmappers is a Python moudle that maps Python dictionary '
'values and object properties to different dictionary.',
long_description=read_file('README.rst'),
long_description_content_type="text/x-rst",
author='BeProud Inc.',
author_email='[email protected]',
url='https://bpmappers.readthedocs.io/ja/stable/',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=['bpmappers'],
keywords=['model', 'mapper', 'django'],
license='MIT License',
extras_require={
'django': ['Django'],
'develop': [
'Django', 'pytest', 'flake8', 'pytest-django',
'pytest-pythonpath', 'tox',
],
},
)