-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (69 loc) · 2.24 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
70
71
72
73
74
75
76
77
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# from setuptools import setup
import os
import sys
import setuptools
setup_dir = os.path.dirname(os.path.abspath(__file__))
release_module = {}
release_filename = os.path.join(setup_dir, "src", "ska_mid_cbf_mcs", "release.py")
# pylint: disable=exec-used
exec(open(release_filename).read(), release_module)
with open('README.md') as readme_file:
readme = readme_file.read()
pack = ['ska-mid-cbf-mcs']
setuptools.setup(
name=release_module["name"],
description=release_module["description"],
version=release_module["version"],
author=release_module["author"],
author_email=release_module["author_email"],
license=release_module["license"],
url=release_module["url"],
long_description=readme + '\n\n',
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
include_package_data=True,
zip_safe=False,
keywords='ska mid cbf mcs',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points={
"console_scripts": [
"CbfController=ska_mid_cbf_mcs.controller.controller_device:main",
"CbfSubarray=ska_mid_cbf_mcs.subarray.subarray_device:main",
"FspMulti=ska_mid_cbf_mcs.fsp.fsp_multi:main",
"VccMulti=ska_mid_cbf_mcs.vcc.vcc_multi:main",
"TmCspSubarrayLeafNodeTest=ska_mid_cbf_mcs.tm_leaf_node:main",
]
},
test_suite='tests',
install_requires=[
'pytango >= 9.3.2',
'ska-tango-base >= 0.10.0'
],
setup_requires=[
# dependency for `python setup.py test`
'pytest-runner',
# dependencies for `python setup.py build_sphinx`
'sphinx',
'recommonmark'
],
tests_require=[
'pytest',
'pytest-cov',
'pytest-json-report',
'pycodestyle',
],
extras_require={
'dev': ['prospector[with_pyroma]', 'yapf', 'isort']
}
)