-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
33 lines (28 loc) · 904 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
#!/usr/bin/python
import os
import setuptools
# To update Spa's version.txt file and ensure that a matching tag is created in
# version control, please use the 'bumpversion' command line tool.
here = os.path.dirname(os.path.realpath(__file__))
version_file = os.path.join(here, 'spa', 'version.txt')
with open(version_file) as f:
version = f.read().strip()
setup_params = dict(
name='spa',
version=version,
author='Brent Tubbs',
author_email='[email protected]',
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'gunicorn>=19.4.1',
'gwebsocket>=0.9.9',
'PyJWT>=1.4.0',
'six>=1.10.0',
'utc>=0.0.3',
'Werkzeug>=0.10.1',
],
description=('A Python micro framework for REST APIs and single-page-applications.'),
)
if __name__ == '__main__':
setuptools.setup(**setup_params)