-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·37 lines (32 loc) · 1.21 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open('README.rst', 'r') as f:
long_description = f.read()
def get_requirements():
with open('requirements.txt') as req, open('docs/rtd-requirements.txt', 'w') as rtd_file:
for dep in req:
print(dep.strip(), file=rtd_file)
yield dep.strip()
setup(
name="Ion",
description="The next-generation Intranet platform for TJHSST",
long_description=long_description,
author="The TJHSST Computer Systems Lab",
author_email="[email protected]",
url="https://github.com/tjcsl/ion",
version="1.0",
license="GPL",
test_suite='intranet.test.test_suite.run_tests',
setup_requires=['pip>=6.0', 'setuptools_git'], # session param
install_requires=[str(dep) for dep in get_requirements()],
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Framework :: Django :: 1.9',
],
)