-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (42 loc) · 1.36 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
import os.path
from setuptools import find_packages, setup
def get_version():
version_file = os.path.join(os.path.dirname(__file__), "skymap", "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="skymap",
version=get_version(),
author="Fabian Jankowski",
author_email="fjankowsk at gmail.com",
description="Create and visualise sky map data.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/fjankowsk/skymap",
license="MIT",
packages=find_packages(),
install_requires=["astropy", "healpy", "matplotlib", "numpy", "pandas"],
entry_points={
"console_scripts": [
"skymap-query = skymap.apps.query_skymap:main",
],
},
extras_require={
"develop": ["black", "pytest", "pytest-cov"],
},
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=True,
)