forked from igmhub/picca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (28 loc) · 1.26 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
#!/usr/bin/env python
import glob
import git
from setuptools import find_namespace_packages, setup
from pathlib import Path
scripts = sorted(glob.glob('bin/picca*'))
description = (f"Package for Igm Cosmological-Correlations Analyses\n"
f"commit hash: {git.Repo('.').head.object.hexsha}")
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
exec(open('py/picca/_version.py').read())
version = __version__
setup(name="picca",
version = version,
description = description,
long_description = long_description,
long_description_content_type = 'text/markdown',
url = "https://github.com/igmhub/picca",
author = "Nicolas Busca, Helion du Mas des Bourboux, Ignasi Pérez-Ràfols, Michael Walther, the DESI Lya forest picca topical group, et al",
author_email = "iprafols@gmail.com",
packages = find_namespace_packages(where='py'),
package_dir = {'': 'py'},
package_data = {'picca': ['fitter2/models/*/*.fits', 'delta_extraction/expected_fluxes/raw_stats/*fits.gz']},
install_requires = ['numpy', 'scipy', 'iminuit', 'healpy', 'fitsio',
'llvmlite', 'numba', 'h5py', 'future', 'setuptools',
'gitpython'],
scripts = scripts
)