forked from cmantill/boostedhiggs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (41 loc) · 1.38 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
#!/usr/bin/env python
import os.path
import sys
from setuptools import find_packages, setup
about = {}
with open(os.path.join("boostedhiggs", "version.py")) as f:
exec(f.read(), about)
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
setup(
name="boostedhiggs",
version=about["__version__"],
packages=find_packages(),
scripts=[],
include_package_data=True,
description="An analysis package",
long_description=open("README.md", "rb").read().decode("utf8", "ignore"),
long_description_content_type="text/markdown",
maintainer="Nick Smith",
maintainer_email="[email protected]",
url="https://github.com/nsmith-/boostedhiggs",
download_url="https://github.com/nsmith-/boostedhiggs/releases",
license="BSD 3-clause",
test_suite="tests",
install_requires=[
"coffea>=0.7.2",
"correctionlib>=2.0.0rc6",
"rhalphalib",
"pandas",
],
setup_requires=["flake8"] + pytest_runner,
classifiers=[
# "Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Physics",
],
)