forked from SelfHacked/django-composite-pk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (55 loc) · 1.52 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import setup, find_packages
from composite_pk import __version__
with open('flake8-extensions.txt') as f:
_extra_test_flake8 = [
line.strip()
for line in f
]
extra_test = [
'pytest>=4',
'pytest-cov>=2',
'pytest-django>=3',
'psycopg2',
'flake8',
*_extra_test_flake8,
]
extra_dev = [
*extra_test,
]
extra_ci = [
*extra_test,
'python-coveralls',
]
setup(
name='django-composite-pk',
version=__version__,
description='Composite primary key for Django.',
url='https://github.com/SelfHacked/django-composite-pk',
author='SelfDecode',
author_email='[email protected]',
packages=find_packages(),
python_requires='>=3.6',
install_requires=[
'django>=2',
'django-model-wrappers @ https://github.com/SelfHacked/django-model-wrappers/archive/master.zip',
'returns-decorator',
],
extras_require={
'test': extra_test,
'dev': extra_dev,
'ci': extra_ci,
},
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)