-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
40 lines (32 loc) · 916 Bytes
/
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
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', 'requests']
try:
from collections import OrderedDict
except ImportError:
install_requires.append('ordereddict')
return install_requires
setup(
name='jet-django',
version=__import__('jet_django').VERSION,
description='',
long_description=read('README.rst'),
author='Denis Kildishev',
author_email='hello@geex-arts.com',
url='https://github.com/jet-admin/jet-django',
packages=find_packages(),
license='MIT',
classifiers=[
],
zip_safe=False,
include_package_data=True,
install_requires=get_install_requires()
)