forked from columbia-it/django-jsonapi-training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (26 loc) · 907 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
import os
from setuptools import find_packages, setup
from myapp import VERSION
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") 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)))
setup(
name='myapp',
version=VERSION,
packages=find_packages(),
include_package_data=True,
zip_safe = False,
license='none',
description='django-training app',
long_description=README,
url='https://gitlab.cc.columbia.edu/ac45/django-training',
download_url='https://gitlab.cc.columbia.edu/ac45/django-training/repository/master/archive.tar.gz',
author='Alan Crosswell',
author_email='alan@columbia.edu',
# TODO: this duplicates requirements.txt
install_requires=[
'Django>=3.2.11,<4.3',
'django-admin',
]
)