-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (57 loc) · 1.69 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
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
# Package meta-data
NAME = "hepdata-pyhf-extractor"
INFO = "Python package to summarize pyhf submissions"
URL = "https://github.com/HEPData/hepdata-pyhf-extractor"
REQUIRES_PYTHON = ">=3.6, <4"
AUTHORS = "HEPData and pyhf teams"
VERSION = open("VERSION", "r").read().strip()
# Installation requirements
INSTALLATION_REQS = []
# Development requirements
DEVELOPMENT_REQS = [
"black>=20.8b1",
"bump2version>=1.0.1",
"coverage>=5.0.4",
"pre-commit>=2.4.0",
"pytest>=6.0.2",
"pytest-cov>=2.10.0",
]
# CI / CD requirements
INTEGRATION_REQS = [
"coveralls>=2.1.2",
]
setup(
name=NAME,
version=VERSION,
description=INFO,
author=AUTHORS,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=INSTALLATION_REQS,
extras_require={
"dev": DEVELOPMENT_REQS,
"ci": INTEGRATION_REQS,
},
include_package_data=True,
license="GPLv2",
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
],
cmdclass={},
)