-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 881 Bytes
/
setup.py
File metadata and controls
30 lines (24 loc) · 881 Bytes
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
#!/usr/bin/env python
import glob
import git
from setuptools import find_namespace_packages, setup
from pathlib import Path
scripts = sorted(glob.glob('bin/*py'))
description = (f"Package for stacking spectra\n"
f"commit hash: {git.Repo('.').head.object.hexsha}")
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
exec(open('stacking/_version.py').read())
version = __version__
setup(name="stacking",
version = version,
description = description,
long_description = long_description,
long_description_content_type = 'text/markdown',
url = "https://github.com/iprafols/stacking",
author = "Ignasi Pérez-Ràfols",
author_email = "iprafols@gmail.com",
package_dir = {'': '.'},
install_requires = ["numpy", "numba", "pandas", "astropy", "fitsio"],
scripts = scripts
)