-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
77 lines (72 loc) · 1.97 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'requests',
'cython',
'thriftpy',
'pyramid',
'pyramid_chameleon',
'pyramid_mako',
'pyramid_debugtoolbar',
'waitress',
'Babel',
'dogpile.cache',
'pylibmc',
'scieloh5m5',
'xylose',
'articlemetaapi',
'accessstatsapi',
'publicationstatsapi',
'citedbyapi',
'scielojcr',
'altmetric'
]
test_requires = ["nose>=1.0", "coverage"]
setup(
name="analytics",
version='2.2.0',
description="A analytics frontend for SciELO usage and publication statistics",
author="SciELO",
author_email="[email protected]",
license="BSD 2-clause",
url="http://docs.scielo.org",
keywords='scielo statistics',
packages=['analytics'],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Operating System :: POSIX :: Linux",
"Topic :: System",
"Topic :: Services",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
dependency_links=[
"git+https://github.com/scieloorg/[email protected]#egg=thriftpywrap"
],
message_extractors={
'analytics': [
('**.py', 'python', None),
('templates/**.html', 'mako', None),
('templates/**.mako', 'mako', None),
('static/**', 'ignore', None)
]
},
include_package_data=True,
zip_safe=False,
tests_require=test_requires,
install_requires=install_requires,
test_suite="nose.collector",
entry_points="""\
[paste.app_factory]
main = analytics:main
""",
)