-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
42 lines (40 loc) · 1.41 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as f:
requirements = [req.strip() for req in f.readlines() if not req.startswith("#")]
setuptools.setup(
name="laspec",
version="2024.11.26",
author="Bo Zhang",
author_email="[email protected]",
description="Modules for LAMOST spectra.", # short description
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/hypergravity/laspec",
packages=setuptools.find_packages(),
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
],
# package_dir={"laspec": "laspec"},
include_package_data=False,
package_data={
"": ["LICENSE", "README.md"],
"laspec": ["config/*.toml"],
},
# "laspec": ["data/*",
# "data/FERRESun/*",
# "data/KIC8098300/*/*",
# "data/lamost/*",
# "data/phoenix/*",
# "data/songmgb/*",
# "stilts/*"],
install_requires=requirements,
)