forked from radiocosmology/caput
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
33 lines (27 loc) · 796 Bytes
/
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
from setuptools import setup
import os
from caput import __version__
REQUIRES = ['numpy', 'h5py', 'PyYAML']
# Don't install requirements if on ReadTheDocs build system.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
requires = []
else:
requires = REQUIRES
setup(
name='caput',
version=__version__,
packages=['caput', 'caput.tests'],
scripts=['scripts/caput-pipeline'],
install_requires=requires,
extras_require={
'mpi': ['mpi4py>=1.3'],
'skyfield': ['skyfield>=1.0']
},
# metadata for upload to PyPI
author="Kiyo Masui, J. Richard Shaw",
author_email="[email protected]",
description="Cluster Astronomical Python Utilities.",
license="GPL v3.0",
url="http://github.com/radiocosmology/caput"
)