forked from dnoonan08/TTGamma_LongExercise
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
30 lines (25 loc) · 733 Bytes
/
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
#!/usr/bin/env python
import sys
import os.path
from setuptools import (
setup,
find_packages,
)
about = {}
with open(os.path.join("ttgamma", "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="ttgamma",
version=about["__version__"],
packages=find_packages(),
include_package_data=True,
description="An analysis package",
long_description_content_type="text/markdown",
url="https://github.com/dnoonan08/TTGamma_LongExercise",
install_requires=[
"coffea",
"rhalphalib",
],
setup_requires=["flake8"] + pytest_runner,
)