forked from radiocosmology/driftscan
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (33 loc) · 1.13 KB
/
setup.py
File metadata and controls
38 lines (33 loc) · 1.13 KB
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
# === Start Python 2/3 compatibility
from __future__ import absolute_import, division, print_function, unicode_literals
from future.builtins import * # noqa pylint: disable=W0401, W0614
from future.builtins.disabled import * # noqa pylint: disable=W0401, W0614
# === End Python 2/3 compatibility
from future.utils import bytes_to_native_str
from setuptools import setup, find_packages
import drift
drift_data = {
# TODO: Py3 remove this hack needed to work around a setuptools bug
bytes_to_native_str(b"drift.telescope"): ["gmrtpositions.dat"]
}
setup(
name="driftscan",
version=drift.__version__,
packages=find_packages(),
install_requires=[
"numpy>=1.7",
"scipy",
"healpy>=1.8",
"h5py",
"caput>=0.3",
"cora",
],
package_data=drift_data,
scripts=["scripts/drift-makeproducts", "scripts/drift-runpipeline"],
# metadata for upload to PyPI
author="J. Richard Shaw",
author_email="richard@phas.ubc.ca",
description="Transit telescope analysis with the m-mode formalism",
license="GPL v3.0",
url="http://github.com/radiocosmology/driftscan",
)