-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
69 lines (59 loc) · 1.3 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
import sys
import seesaw
try:
from setuptools import setup
# hush pyflakes
setup # pylint: disable=pointless-statement
except ImportError:
from distutils.core import setup
packages = [
'seesaw',
'seesaw.script',
]
package_dir = {
'seesaw': 'seesaw',
}
package_data = {
'seesaw': [
'public/index.html',
'public/*.js',
'public/*.css',
'public/*.png',
'templates/*.html'
]
}
if sys.version_info[0] == 3:
scripts = [
'run-pipeline3',
'run-warrior3',
]
else:
scripts = [
'run-pipeline',
'run-warrior',
'run-pipeline2',
'run-warrior2',
]
requires = [
'Tornado>=4,<4.99999.99999',
'sockjs-tornado',
]
if sys.version_info < (2, 7):
requires.append('ordereddict')
setup(
name='seesaw',
version=seesaw.__version__,
maintainer='ArchiveTeam',
maintainer_email='[email protected]',
description='ArchiveTeam seesaw kit',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
url='http://www.archiveteam.org/',
packages=packages,
package_dir=package_dir,
package_data=package_data,
include_package_data=True,
scripts=scripts,
install_requires=requires,
)