-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
65 lines (56 loc) · 2.15 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
#!/usr/bin/env python
# Copyright 2008 National Research Foundation (South African Radio Astronomy Observatory)
# BSD license - see LICENSE for details
from __future__ import absolute_import, division, print_function
import os
from setuptools import find_packages, setup
this_directory = os.path.abspath(os.path.dirname(__file__))
files = {"Readme": "README.md", "Changelog": "CHANGELOG.md"}
long_description = ""
for name, filename in files.items():
if name != 'Readme':
long_description += "# {}\n".format(name)
with open(os.path.join(this_directory, filename)) as _f:
file_contents = _f.read()
long_description += file_contents + "\n\n"
setup(
name="katcp",
description="Karoo Array Telescope Communication Protocol library",
long_description=long_description,
long_description_content_type="text/markdown",
author="MeerKAT CAM Team",
author_email="[email protected]",
packages=find_packages(),
url="https://github.com/ska-sa/katcp-python",
download_url="https://pypi.org/project/katcp/",
license="BSD",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Astronomy",
],
platforms=["OS Independent"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
keywords="kat kat7 ska MeerKAT",
setup_requires=["katversion"],
use_katversion=True,
install_requires=[
"ply",
"future",
"futures; python_version<'3'",
"tornado>=4.3, <5",
],
zip_safe=False,
test_suite="nose.collector",
)