-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
46 lines (34 loc) · 1.01 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
#!/usr/bin/env python
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
__doc__ = """
To install as system package:
python setup.py install
To install as local package:
RU=/opt/control
python setup.py egg_info --egg-base=tmp install --root=$RU/files --no-compile \
--install-lib=lib/python/site-packages --install-scripts=ds
-------------------------------------------------------------------------------
"""
print(__doc__)
version = open('VERSION').read().strip()
scripts = ['bin/SimulatorDS']
license = 'GPL-3.0'
package_dir = {
'SimulatorDS': '.',
}
packages = package_dir.keys()
package_data = {
'': ['VERSION'],
}
packages = package_dir.keys()
setup(name = 'tangods-simulatords',
version = version,
license = license,
description = 'Tango device for simulation and calculation',
packages = packages,
package_dir= package_dir,
scripts = scripts,
include_package_data = True,
package_data = package_data
)