-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (48 loc) · 1.68 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
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as readme_md:
long_description = readme_md.read()
extras_require = {
"develop": [
"check-manifest",
"pytest~=6.0",
"pytest-cov~=2.8",
"pytest-console-scripts~=0.2",
"bumpversion~=0.5",
"flake8",
"pre-commit",
"black",
"twine",
],
"test": ["matplotlib"],
}
extras_require["complete"] = sorted(set(sum(extras_require.values(), [])))
setup(
name="hfval",
version="0.0.1",
description="Validation utilities for HistFactory workspaces",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pyhf/pyhf-validation",
author="Lukas Heinrich, Matthew Feickert, Giordon Stark",
license="Apache",
keywords="pyhf validation",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
package_dir={"": "src"},
packages=find_packages(where="src"),
include_package_data=True,
install_requires=["pyhf[xmlio]>0.6.0"],
python_requires=">=3.7",
extras_require=extras_require,
entry_points={"console_scripts": ["pyhf-validation=hfval.commandline:hfval"]},
dependency_links=[],
use_scm_version=lambda: {"local_scheme": lambda version: ""},
)