-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
87 lines (83 loc) · 2.55 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# setuptools loads some plugins necessary for use here.
import os
from distutils.core import setup
from version_info import version_func_adl
# Use the readme as the long description.
with open("README.md", "r") as fh:
long_description = fh.read()
# Get the version number right
version = os.getenv("func_adl_xaod_version")
if version is None:
version = "0.0.0-alpha.10"
else:
version = version.split("/")[-1]
# Finally, the setup.
setup(
name="func_adl_xAOD",
version=version,
packages=["func_adl_xAOD"]
+ [f"func_adl_xAOD.{f}" for f in ["atlas.xaod", "cms.aod", "common"]],
scripts=[],
description="Functional Analysis Description Language backend for accessing ATLAS xAOD files.",
long_description=long_description,
long_description_content_type="text/markdown",
author="G. Watts (IRIS-HEP/UW Seattle)",
author_email="[email protected]",
maintainer="Gordon Watts (IRIS-HEP/UW Seattle)",
maintainer_email="[email protected]",
url="https://github.com/iris-hep/func_adl_xAOD",
license="TBD",
test_suite="tests",
install_requires=[
"requests",
"retry",
"jinja2",
"qastle",
f"func_adl{version_func_adl}",
],
extras_require={
"test": [
"pytest>=3.9",
"pytest-asyncio",
"pytest-mock",
"pytest-cov",
"coverage",
"flake8",
"autopep8",
"twine",
"testfixtures",
"wheel",
"asyncmock",
"pandas",
"uproot",
"awkward",
"black",
],
"local": ["python-on-whales"],
},
classifiers=[
# "Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development",
"Topic :: Utilities",
],
package_data={
"func_adl_xAOD": [
"template/atlas/r21/*",
"template/cms/r5/*",
],
},
platforms="Any",
)