-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (59 loc) · 2.03 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
import os.path
from setuptools import find_packages, setup
def get_version():
version_file = os.path.join(os.path.dirname(__file__), "meertrapdb", "version.py")
with open(version_file, "r") as f:
raw = f.read()
items = {}
exec(raw, None, items)
return items["__version__"]
def get_long_description():
with open("README.md", "r") as fd:
long_description = fd.read()
return long_description
setup(
name="meertrapdb",
version=get_version(),
author="Fabian Jankowski",
author_email="fjankowsk at gmail.com",
description="Database code for MeerTRAP.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/fjankowsk/meertrapdb",
license="MIT",
packages=find_packages(),
package_data={"meertrapdb": ["config/*"]},
install_requires=[
"astropy",
"katpoint",
"matplotlib",
"nose2",
"numpy",
"pandas",
"pony",
"psrmatch @ git+https://github.com/fjankowsk/psrmatch.git",
"pygedm",
"pytz",
"pyyaml",
"requests",
"skymap @ git+https://github.com/fjankowsk/skymap.git@master",
],
entry_points={
"console_scripts": [
"meertrapdb-benchmark_clusterer = meertrapdb.apps.benchmark_clusterer:main",
"meertrapdb-cluster_multibeam = meertrapdb.apps.cluster_multibeam:main",
"meertrapdb-make_plots = meertrapdb.apps.make_plots:main",
"meertrapdb-parse_datadump = meertrapdb.apps.parse_data_dump:main",
"meertrapdb-populate_db = meertrapdb.apps.populate_db:main",
"meertrapdb-search_knownsources = meertrapdb.apps.search_known_sources:main",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
zip_safe=False,
)