-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (30 loc) · 1.17 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
#!/usr/bin/env python
import glob
from distutils.core import setup
from tickery.version import version
# Where Tickery files such as the HTML, Javascript, and the Twisted plugin
# should be installed on the destination host:
TICKERY_ROOT = '/opt/tickery'
setup(name='tickery',
version=version,
scripts=glob.glob('bin/*.py'),
packages=['tickery', 'tickery.test'],
data_files=[
('%s/twisted/plugins' % TICKERY_ROOT,
['twisted/plugins/tickery_service.py']),
('%s/tickery' % TICKERY_ROOT,
['tickery/Makefile']),
# Public (www) files:
('%s/tickery/www' % TICKERY_ROOT,
['tickery/www/Makefile'] + glob.glob('tickery/www/*.py')),
('%s/tickery/www/public' % TICKERY_ROOT,
glob.glob('tickery/www/public/*')),
# Admin files:
('%s/tickery/admin' % TICKERY_ROOT,
['tickery/admin/Makefile'] + glob.glob('tickery/admin/*.py')),
('%s/tickery/admin/public' % TICKERY_ROOT,
glob.glob('tickery/admin/public/*'))
],
maintainer='Fluidinfo Inc.',
maintainer_email='[email protected]',
url='http://fluidinfo.com/')