-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
49 lines (42 loc) · 1.7 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
48
49
import os
import platform
from setuptools import find_packages, setup
version = {} # will be set by exec below
with open(os.path.join(os.path.dirname(__file__), "pycounter/version.py"), "r") as fp:
exec(fp.read(), version)
with open("README.rst") as readmefile:
readme = readmefile.read()
requirements = ["openpyxl", "requests", "pendulum==2.0.3", "click", "lxml"]
if platform.python_implementation() == "PyPy":
requirements = ["cython"] + requirements
setup(
name="pycounter",
python_requires=">=3.6",
version=version["__version__"],
packages=find_packages(),
author="Health Sciences Library System, University of Pittsburgh",
author_email="[email protected]",
maintainer="Geoffrey Spear",
maintainer_email="[email protected]",
url="http://www.github.com/pitthsls/pycounter",
project_urls={"Documentation": "https://pycounter.readthedocs.io"},
description="Project COUNTER/NISO SUSHI statistics",
long_description=readme,
keywords="library COUNTER journals usage_statistics SUSHI",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: PyPy3",
],
extras_require={
"docs": ["sphinx", "sphinx_rtd_theme"],
"tests": ["httmock", "mock", "pytest", "coverage"],
},
install_requires=requirements,
entry_points={"console_scripts": ["sushiclient = pycounter.sushiclient:main"]},
)