-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (34 loc) · 1.07 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
#!/usr/bin/env python
"""TTTDiazo package setup.
Copyright (c) 2016 V! Studios.
"""
import os
from pip.req import parse_requirements
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'VERSION.txt')) as f:
VERSION = f.read().strip()
# use pip to parse the requirements.txt files into lists.
reqs = [str(i.req) for i in parse_requirements('requirements.txt',
session=False)]
setup(name='tttdiazo',
version=VERSION,
description='tttdiazo',
long_description=README,
classifiers=[
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=reqs,
test_suite='tttdiazo',
)