forked from RamsesMartinez/django-jet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (52 loc) · 1.82 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
import os
from setuptools import setup, find_packages
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
try:
file = open(path, encoding='utf-8')
except TypeError:
file = open(path)
return file.read()
def get_install_requires():
install_requires = ['Django']
try:
import importlib
except ImportError:
install_requires.append('importlib')
try:
from collections import OrderedDict
except ImportError:
install_requires.append('ordereddict')
return install_requires
setup(
name='r-django-jet',
version=__import__('jet').VERSION,
description='Modern template for Django admin interface with improved functionality',
long_description=read('README.rst'),
author='Ramses Martinez',
author_email='[email protected]',
url='https://github.com/RamsesMartinez/django-jet',
packages=find_packages(),
license='AGPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'License :: Free for non-commercial use',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Environment :: Web Environment',
'Topic :: Software Development',
'Topic :: Software Development :: User Interfaces',
],
zip_safe=False,
include_package_data=True,
install_requires=get_install_requires()
)