-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
65 lines (58 loc) · 1.88 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
# Copyright (c) 2019 The HERA Collaboration
# Licensed under the 2-clause BSD License
from setuptools import find_packages, setup
package_name = "hera_librarian"
packages = find_packages(exclude=["*.tests"])
server_reqs = [
"aipy",
"alembic",
"astropy>=2.0",
"flask>=2.0",
"flask_sqlalchemy",
"hera-librarian",
"numpy",
"psycopg2-binary",
"pytz",
"pyuvdata",
"sqlalchemy>=1.4.0",
"tornado",
]
globus_reqs = [
"globus-sdk>=3.0,<4.0",
]
all_reqs = server_reqs + globus_reqs
setup(
name=package_name,
version="1.1.1",
author="HERA Team",
author_email="hera@lists.berkeley.edu",
url="https://github.com/HERA-Team/librarian/",
license="BSD",
description="A client for the HERA Librarian data management system",
long_description="""\
The HERA Librarian is a distributed system for managing HERA collaboration
data products. This package provides client libraries that allow you to
communicate with a Librarian server. It also includes the server code,
although those modules are not installed in a standard ``pip install``.
""",
install_requires=["astropy >=2.0"],
tests_require=["pytest", "pytest-datafiles>=3.0", "pytest-console-scripts"],
packages=packages,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Astronomy",
],
extras_require={
"server": server_reqs,
"globus": globus_reqs,
"all": all_reqs,
},
scripts=["scripts/librarian_stream_file_or_directory.sh", "scripts/runserver.py"],
entry_points={"console_scripts": ["librarian=hera_librarian.cli:main"]},
use_scm_version=True,
setup_requires=["setuptools_scm", "setuptools_scm_git_archive"],
include_package_data=True,
zip_safe=False,
)