-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
122 lines (120 loc) · 7.5 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#!/usr/bin/env python
from setuptools import setup, find_packages
from fermipy.version import get_git_version
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.rst").read_text()
setup(
name='fermipy',
version=get_git_version(),
author='The Fermipy developers',
#author_email='[email protected]',
description='A Python package for analysis of Fermi-LAT data',
long_description=long_description,
long_description_content_type='text/x-rst',
license='BSD',
packages=find_packages(),
include_package_data=True,
url="https://github.com/fermiPy/fermipy",
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 5 - Production/Stable',
],
scripts=[],
entry_points={'console_scripts': [
'fermipy-dispatch = fermipy.scripts.dispatch:main',
'fermipy-clone-configs = fermipy.scripts.clone_configs:main',
'fermipy-collect-sources = fermipy.scripts.collect_sources:main',
'fermipy-cluster-sources = fermipy.scripts.cluster_sources:main',
'fermipy-flux-sensitivity = fermipy.scripts.flux_sensitivity:main',
'fermipy-intensity-map = fermipy.scripts.intensity_map:main',
'fermipy-run-tempo = fermipy.scripts.run_tempo:main',
'fermipy-healview = fermipy.scripts.HEALview:main',
'fermipy-wcsview = fermipy.scripts.WCSview:main',
'fermipy-make-wmap = fermipy.scripts.make_weights_map:main',
'fermipy-gethdutype = fermipy.scripts.gethdutype:main',
'fermipy-select = fermipy.scripts.select_data:main',
'fermipy-preprocess = fermipy.scripts.preprocess_data:main',
'fermipy-astroserver = fermipy.scripts.astroserver:main',
'fermipy-validate = fermipy.scripts.validate:main',
'fermipy-merit-skimmer = fermipy.scripts.merit_skimmer:main',
'fermipy-merit-response = fermipy.scripts.merit_response:main',
'fermipy-quick-analysis = fermipy.scripts.quickanalysis:main',
'fermipy-coadd = fermipy.scripts.coadd:main',
'fermipy-vstack = fermipy.scripts.vstack_images:main',
'fermipy-gather-srcmaps = fermipy.scripts.gather_srcmaps:main',
'fermipy-gtexcube2-sg = fermipy.diffuse.job_library:Gtexpcube2_SG.main',
'fermipy-gtltsum-sg = fermipy.diffuse.job_library:Gtltsum_sg.main',
'fermipy-sum-ring-gasmaps-sg = fermipy.diffuse.job_library:SumRings_SG.main',
'fermipy-vstack-diffuse-sg = fermipy.diffuse.job_library:Vstack_SG.main',
'fermipy-gather-srcmaps-sg = fermipy.diffuse.job_library:GatherSrcmaps_SG.main',
'fermipy-healview-sg = fermipy.diffuse.job_library:Healview_SG.main',
'fermipy-gtexpcube2wcs-sg = fermipy.diffuse.solar:Gtexpcube2wcs_SG.main',
'fermipy-gtexphpsun-sg = fermipy.diffuse.solar:Gtexphpsun_SG.main',
'fermipy-gtsuntemp-sg = fermipy.diffuse.solar:Gtsuntemp_SG.main',
'fermipy-coadd-split = fermipy.diffuse.gt_coadd_split:CoaddSplit.main',
'fermipy-coadd-split-sg = fermipy.diffuse.gt_coadd_split:CoaddSplit_SG.main',
'fermipy-srcmaps-catalog = fermipy.diffuse.gt_srcmaps_catalog:GtSrcmapsCatalog.main',
'fermipy-srcmaps-catalog-sg = fermipy.diffuse.gt_srcmaps_catalog:SrcmapsCatalog_SG.main',
'fermipy-srcmaps-diffuse = fermipy.diffuse.gt_srcmap_partial:GtSrcmapsDiffuse.main',
'fermipy-srcmaps-diffuse-sg = fermipy.diffuse.gt_srcmap_partial:SrcmapsDiffuse_SG.main',
'fermipy-merge-srcmaps = fermipy.diffuse.gt_merge_srcmaps:GtMergeSrcmaps.main',
'fermipy-merge-srcmaps-sg = fermipy.diffuse.gt_merge_srcmaps:MergeSrcmaps_SG.main',
'fermipy-init-model = fermipy.diffuse.gt_assemble_model:InitModel.main',
'fermipy-assemble-model = fermipy.diffuse.gt_assemble_model:AssembleModel.main',
'fermipy-assemble-model-sg = fermipy.diffuse.gt_assemble_model:AssembleModel_SG.main',
'fermipy-assemble-model-chain = fermipy.diffuse.gt_assemble_model:AssembleModel.main',
'fermipy-residual-cr = fermipy.diffuse.residual_cr:ResidualCR.main',
'fermipy-residual-cr-sg = fermipy.diffuse.residual_cr:ResidualCR_SG.main',
'fermipy-split-and-bin = fermipy.diffuse.gt_split_and_bin:SplitAndBin.main',
'fermipy-split-and-bin-sg = fermipy.diffuse.gt_split_and_bin:SplitAndBin_SG.main',
'fermipy-split-and-bin-chain = fermipy.diffuse.gt_split_and_bin:SplitAndBinChain.main',
'fermipy-split-and-mktime = fermipy.diffuse.gt_split_and_mktime:SplitAndMktime.main',
'fermipy-split-and-mktime-sg = fermipy.diffuse.gt_split_and_mktime:SplitAndMktime_SG.main',
'fermipy-split-and-mktime-chain = fermipy.diffuse.gt_split_and_mktime:SplitAndMktimeChain.main',
'fermipy-residual-cr-chain = fermipy.diffuse.residual_cr:ResidualCRChain.main',
'fermipy-sunmoon-chain = fermipy.diffuse.solar:SunMoonChain.main',
'fermipy-catalog-comp-chain = fermipy.diffuse.diffuse_analysis:CatalogCompChain.main',
'fermipy-diffuse-comp-chain = fermipy.diffuse.diffuse_analysis:DiffuseCompChain.main',
'fermipy-diffuse-analysis = fermipy.diffuse.diffuse_analysis:DiffuseAnalysisChain.main',
'fermipy-fit-diffuse = fermipy.diffuse.fitting:FitDiffuse.main',
'fermipy-fit-diffuse-sg = fermipy.diffuse.fitting:FitDiffuse_SG.main',
'fermipy-job-archive = fermipy.jobs.job_archive:main_browse',
'fermipy-file-archive = fermipy.jobs.file_archive:main_browse',
'fermipy-prepare-targets = fermipy.jobs.prepare_targets:PrepareTargets.main',
'fermipy-analyze-roi = fermipy.jobs.target_analysis:AnalyzeROI.main',
'fermipy-analyze-roi-sg = fermipy.jobs.target_analysis:AnalyzeROI_SG.main',
'fermipy-analyze-sed = fermipy.jobs.target_analysis:AnalyzeSED.main',
'fermipy-analyze-sed-sg = fermipy.jobs.target_analysis:AnalyzeSED_SG.main',
'fermipy-analyze-extension = fermipy.jobs.target_extension:AnalyzeExtension.main',
'fermipy-analyze-extension-sg = fermipy.jobs.target_extension:AnalyzeExtension_SG.main',
'fermipy-copy-base-roi = fermipy.jobs.target_sim:CopyBaseROI.main',
'fermipy-copy-base-roi-sg = fermipy.jobs.target_sim:CopyBaseROI_SG.main',
'fermipy-random-dir-gen = fermipy.jobs.target_sim:RandomDirGen.main',
'fermipy-random-dir-gen-sg = fermipy.jobs.target_sim:RandomDirGen_SG.main',
'fermipy-simulate-roi = fermipy.jobs.target_sim:SimulateROI.main',
'fermipy-simulate-roi-sg = fermipy.jobs.target_sim:SimulateROI_SG.main',
'fermipy-collect-sed = fermipy.jobs.target_collect:CollectSED.main',
'fermipy-collect-sed-sg = fermipy.jobs.target_collect:CollectSED_SG.main',
'fermipy-plot-castro = fermipy.jobs.target_plotting:PlotCastro.main',
'fermipy-plot-castro-sg = fermipy.jobs.target_plotting:PlotCastro_SG.main',
'fermipy-plot-sed-summary-bands = fermipy.jobs.target_plotting:PlotSEDSummaryBands.main',
'fermipy-plot-sed-summary-bands-sg = fermipy.jobs.target_plotting:PlotSEDSummaryBands_SG.main',
]},
install_requires=[
"numpy>=1.16",
"pyyaml",
"scipy<1.12",
"astropy<=6",
"matplotlib>=3.3",
"gammapy>=1.0",
"healpy",
"astropy-healpix"
],
)