forked from pitthsls/pycounter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (41 loc) · 1.6 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
from __future__ import with_statement
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", "six", "arrow", "click"]
if platform.python_implementation() == "PyPy":
requirements.append("lxml<=3.4.4")
else:
requirements.append("lxml")
setup(
name="pycounter",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
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="http://www.github.com/pitthsls/pycounter",
description="Project COUNTER/NISO SUSHI statistics",
long_description=readme,
keywords="library COUNTER journals usage_statistics SUSHI",
test_suite="pycounter.test",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
install_requires=requirements,
tests_require=["httmock", "mock", "pytest"],
entry_points={"console_scripts": ["sushiclient = pycounter.sushiclient:main"]},
)