-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·46 lines (40 loc) · 1.08 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
35
36
37
38
39
40
41
42
43
44
45
46
import os
from setuptools import setup, find_packages
this_dir = os.path.dirname(os.path.realpath(__file__))
__version__ = ""
fname = os.path.join(this_dir, "fpfs", "__version__.py")
with open(fname, "r") as ff:
exec(ff.read())
long_description = open(os.path.join(this_dir, "README.md")).read()
scripts = [
"bin/fpfs_config",
"bin/fpfs_sim.py",
"bin/fpfs_process_sim.py",
"bin/fpfs_summary_sim.py",
"bin/fpfs_process_descsim.py",
"bin/fpfs_summary_descsim.py",
]
setup(
name="fpfs",
version=__version__,
description="FPFS shear estimator",
author="Xiangchong Li",
author_email="[email protected]",
python_requires=">=3.8",
install_requires=[
"numpy",
"schwimmbad",
"jax>=0.4.9",
"jaxlib>=0.4.9",
"galsim",
"astropy",
"matplotlib",
],
packages=find_packages(),
scripts=scripts,
include_package_data=True,
zip_safe=False,
url="https://github.com/mr-superonion/FPFS/",
long_description=long_description,
long_description_content_type="text/markdown",
)