forked from aabdurrouf/piXedfit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.94 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import re
#import glob
#import subprocess
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
setup
#githash = subprocess.check_output(["git", "log", "--format=%h"], universal_newlines=True).split('\n')[0]
vers = "1.0"
#githash = ""
#with open('prospect/_version.py', "w") as f:
# f.write('__version__ = "{}"\n'.format(vers))
# f.write('__githash__ = "{}"\n'.format(githash))
setup(
name="pixedfit",
version=vers,
project_urls={"Source repo": "https://github.com/aabdurrouf/piXedfit",
"Documentation": "https://pixedfit.readthedocs.io"},
author="Abdurrouf",
author_email="fabdurr1@jhu.edu",
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Astronomy"],
packages=["piXedfit",
"piXedfit.piXedfit_analysis",
"piXedfit.piXedfit_bin",
"piXedfit.piXedfit_fitting",
"piXedfit.piXedfit_images",
"piXedfit.piXedfit_model",
"piXedfit.piXedfit_spectrophotometric",
"piXedfit.utils"],
python_requires=">=3.7, <4",
license="MIT",
description="A python package specially designed for SED fitting of resolved sources",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
package_data={"": ["README.md", "LICENSE"]},
#scripts=glob.glob("scripts/*.py"),
include_package_data=True,
install_requires=["numpy", "scipy", "astropy", "photutils==1.1.0", "matplotlib", "reproject>=0.7",
"sep", "emcee", "schwimmbad", "astroquery", "pyvo", "pandas", "tqdm", "h5py"],
)