-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
38 lines (34 loc) · 1.21 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
import setuptools
# Get requirements from requirements.txt, stripping the version tags
with open("requirements.txt") as f:
requires = [r.split("/")[-1] if r.startswith("git+") else r for r in f.read().splitlines()]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("HISTORY.md") as file:
history = file.read()
setuptools.setup(
name="GOFevaluation",
version="0.1.4",
author="GOFevaluation contributors, the XENON collaboration",
description="Evaluate the Goodness-of-Fit(GOF) for binned or \
unbinned data.",
long_description=long_description + "\n\n" + history,
long_description_content_type="text/markdown",
setup_requires=["pytest-runner"],
install_requires=requires,
tests_require=requires
+ [
"pytest",
"flake8",
],
python_requires=">=3.7",
url="https://github.com/XENONnT/GOFevaluation",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
)