-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
33 lines (29 loc) · 908 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
import json
import os
import sys
from setuptools import setup
# Download the Planck maps
# os.system('./scripts/get_planck_maps.sh')
setup_args = {
'name': 'fastbox',
'author': 'Phil Bull',
'url': 'https://github.com/philbull/FastBox',
'license': 'MIT',
'version': '0.0.9',
'description': 'Fast simulations of cosmological density fields, subject to anisotropic filtering, biasing, redshift-space distortions, foregrounds etc.',
'packages': ['fastbox'],
'package_dir': {'fastbox': 'fastbox'},
'install_requires': [
'numpy>=1.18',
'scipy>=1.5',
'matplotlib>=2.2',
'sklearn',
'pyccl'
],
'extras_require': {'fgextras': ['healpy', 'lmfit', 'multiprocessing', 'GPy']},
'scripts': ['scripts/get_planck_maps.sh'],
'include_package_data': True,
'zip_safe': False
}
if __name__ == '__main__':
setup(**setup_args)