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