-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (36 loc) · 1.32 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
from setuptools import setup
import os
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
requirements = []
if os.path.isfile("./requirements.txt"):
with open("requirements.txt", "r") as f:
requirements = f.read()
requirements = [x for x in requirements.split("\n") if x != ""]
with open("src/ma5_expert/_version.py", "r") as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
setup(
name="ma5_expert",
version=version,
description=("MadAnalysis 5 interpreter for Expert mode"),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MadAnalysis/ma5_expert",
project_urls={
"Bug Tracker": "https://github.com/MadAnalysis/ma5_expert/issues",
},
download_url=f"https://github.com/MadAnalysis/ma5_expert/archive/refs/tags/v{version}.tar.gz",
author="Jack Y. Araz",
author_email=("jack.araz@durham.ac.uk"),
license="MIT",
package_dir={"": "src"},
install_requires=requirements,
python_requires=">=3.8",
classifiers=[
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
],
)