-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.74 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.74 KB
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
50
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")) as fp:
exec(fp.read(), version)
with open("README.rst") as readmefile:
readme = readmefile.read()
requirements = ["openpyxl", "requests", "pendulum", "click", "lxml"]
if platform.python_implementation() == "PyPy":
requirements = ["cython"] + requirements
setup(
name="pycounter",
python_requires=">=3.10",
version=version["__version__"],
packages=find_packages(),
author="Health Sciences Library System, University of Pittsburgh",
author_email="speargh@pitt.edu",
maintainer="Geoffrey Spear",
maintainer_email="speargh@pitt.edu",
url="https://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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"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"]},
)