-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (36 loc) · 1.31 KB
/
setup.py
File metadata and controls
43 lines (36 loc) · 1.31 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
39
40
41
42
43
import os
import warnings
from setuptools import setup, find_packages
from distutils import sysconfig
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
REQUIRES = ['numpy', 'scipy', 'matplotlib', 'h5py', 'healpy',
'pyephem', 'aipy', 'caput', 'cora', ]
# 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 = 'fpipe',
version = '0.1.0',
packages = find_packages(),
#ext_modules=[Extension('fpipe.map._mapmaker', ['fpipe/map/_mapmaker.pyx'],
# include_dirs=[np.get_include()],
# depends=["setup.py",
# "fpipe/map/_mapmaker.pyx"]),
# Extension('fpipe.map.cubicspline', ['fpipe/map/cubicspline.pyx'],
# include_dirs=[np.get_include()],
# depends=["setup.py",
# "fpipe/map/cubicspline.pyx"]),
# ],
ext_modules = [],
cmdclass={'build_ext': build_ext},
install_requires = requires,
package_data = {},
# metadata for upload to PyPI
author = "Yi-Chao LI",
description = "Analysis pipeline for FAST",
)