-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
58 lines (51 loc) · 1.66 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
import os
from setuptools import setup
try:
import jsonfield
_HAD_JSONFIELD = True
except ImportError:
_HAD_JSONFIELD = False
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
from groups_manager import VERSION
install_requires=[
'django>=3.2',
'django-mptt',
]
if not _HAD_JSONFIELD:
install_requires.append('jsonfield')
setup(
name='django-groups-manager',
version=VERSION,
description="Django groups manager through django-mptt.",
long_description=README,
long_description_content_type="text/markdown",
author='Vittorio Zamboni',
author_email='vittorio.zamboni@gmail.com',
license='MIT',
url='https://github.com/vittoriozamboni/django-groups-manager',
packages=[
'groups_manager',
'groups_manager.migrations',
'groups_manager.templatetags',
],
include_package_data=True,
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Security',
],
)