-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (37 loc) · 1.06 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
40
41
42
from setuptools import setup, find_packages
import sys
if sys.version_info < (2, 7):
raise OSError("Can't run in Python < 2.7")
elif sys.version_info > (3, 0) and sys.version_info <= (3, 3):
raise OSError("We don't support this far back")
requires = [
'Flask',
'Flask-Migrate',
'Flask-Script',
'Flask-SQLAlchemy',
'PyMySQL',
'python-dateutil',
'requests',
"twilio",
'six'
]
if sys.version_info < (3, 0):
requires.append("bjoern")
elif sys.version_info < (3, 5):
requires.append("waitress")
else:
requires.append("waitress") # temporarily, I hope
if sys.version_info < (3, 5):
requires.append("typing")
setup(
name='rcj-soccer',
version='0.1.0',
url='https://github.com/rcjaustralia/rcj-soccer-platform/',
license='MIT',
author='RoboCup Junior Australia',
author_email='[email protected]',
description='A system to manage soccer draws, refereeing, and scoring for RoboCup Junior Australia',
packages=find_packages(),
include_package_data=True,
install_requires=requires,
)