-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
executable file
·46 lines (38 loc) · 1.23 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
#!/usr/bin/env python
"""
Install django-enumchoicefield using setuptools
"""
from setuptools import find_packages, setup
with open('README.rst', 'r') as f:
readme = f.read()
with open('enumchoicefield/version.py') as v:
version = None
exec(v.read()) # Get version
setup(
name='django-enumchoicefield',
version=version,
description='A choice field for Django using native Python Enums',
long_description=readme,
author='Tim Heap',
author_email='[email protected]',
url='https://github.com/timheap/django-enumchoicefield',
install_requires=['Django>=2.0'],
zip_safe=False,
license='BSD License',
packages=find_packages(),
include_package_data=True,
package_data={},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
],
)