-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
37 lines (32 loc) · 1.22 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
import setuptools
with open("README.md", "r") as readme_file:
long_description = readme_file.read()
with open("requirements.txt") as requirements_file:
requirements = requirements_file.read().splitlines()
with open("src/hostphot/_version.py") as version_file:
for line in version_file:
if "__version__" in line:
__version__ = line.split()[-1].replace('"', "")
setuptools.setup(
name="hostphot",
version=__version__,
author="Tomás Enrique Müller-Bravo and Lluís Galbany",
author_email="t.e.muller-bravo@ice.csic.es",
license="MIT",
description="Global and local photometry of galaxies hosting supernovae or other transients",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/temuller/hostphot",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
# scripts=["bin/hostphot"],
python_requires=">=3.9",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=requirements,
package_data={"hostphot": ["filters/*"]},
include_package_data=True,
)