-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (42 loc) · 1.39 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
#!/usr/bin/env python
import sys
import os.path
from setuptools import (
setup,
find_packages,
)
about = {}
with open(os.path.join("toffea", "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="toffea",
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/BrownCMS/toffea",
download_url="https://github.com/BrownCMS/toffea/releases",
license="BSD 3-clause",
test_suite="tests",
install_requires=[
"coffea>=0.6.33",
#"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",
],
)