-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (34 loc) · 1.14 KB
/
setup.py
File metadata and controls
36 lines (34 loc) · 1.14 KB
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
import sys
import os
import pathlib
from setuptools import setup
package_name = "xspectrampoline"
version = (pathlib.Path(package_name) / "VERSION").read_text().strip()
readme = pathlib.Path("README.md").read_text()
setup(
author="Fergus Baker",
author_email="fergus@cosroe.com",
description="A package for distributing the HEASOFT / XSPEC model library.",
keywords=["xspec", "heasoft"],
long_description=readme,
long_description_content_type="text/markdown",
python_requires=">=3.6",
install_requires=["numpy>=1.24"],
license="GPL-3.0-or-later",
name=package_name,
version=version,
packages=[package_name, f"{package_name}_helpers"],
package_dir={
package_name: package_name,
f"{package_name}_helpers": os.path.join(package_name, "helpers"),
},
url=f"https://github.com/fjebaker/{package_name}",
classifiers=[
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
],
include_package_data=True,
package_data={package_name: ["LINKEDFILES", "VERSION"]},
)