-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (38 loc) · 1.36 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
import setuptools
import os
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
with open(
os.path.join("spectral_energy_distribution_units", "version.py")
) as f:
txt = f.read()
last_line = txt.splitlines()[-1]
version_string = last_line.split()[-1]
version = version_string.strip("\"'")
setuptools.setup(
name="spectral_energy_distribution_units_sebastian-achim-mueller",
version=version,
description="Converting units in Spectral-Energy-Distributions.",
long_description=long_description,
long_description_content_type="text/x-rst",
author="Sebastian Achim Mueller",
author_email="sebastian-achim.mueller@mpi-hd.mpg.de",
url="https://github.com/cherenkov-plenoscope/spectral_energy_distribution_units",
packages=["spectral_energy_distribution_units"],
package_data={
"spectral_energy_distribution_units": [os.path.join("resources", "*")]
},
python_requires=">=3",
install_requires=[
"numpy",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
],
)