-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (41 loc) · 1.4 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
# -*- coding: utf-8 -*-
import sys
import os.path
from setuptools import (
setup,
find_packages,
)
about = {}
with open(os.path.join("aioroot", "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="aioroot",
version=about["__version__"],
packages=find_packages(),
scripts=[],
include_package_data=True,
description="An asynchronous library for reading ROOT files over xrootd",
long_description=open("README.md", "rb").read().decode("utf8", "ignore"),
long_description_content_type="text/markdown",
maintainer="Nick Smith",
maintainer_email="nick.smith@cern.ch",
url="https://github.com/nsmith-/aioroot",
download_url="https://github.com/nsmith-/aioroot/releases",
license="BSD 3-clause",
test_suite="tests",
install_requires=[
"uproot",
],
setup_requires=["flake8"] + pytest_runner,
classifiers=[
"Development Status :: 3 - Alpha",
"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",
],
)