-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·66 lines (60 loc) · 2.13 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
#!/usr/bin/env python
import io
import re
from setuptools import setup, find_packages
DESCRIPTION = "Python REST API for Humans."
with open("README.rst") as f:
LONG_DESCRIPTION = f.read()
with io.open("eve/__init__.py", "rt", encoding="utf8") as f:
VERSION = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
INSTALL_REQUIRES = [
"cerberus>=1.1",
"events>=0.3,<0.4",
"flask>=1.0",
"pymongo>=3.5",
"simplejson>=3.3.0,<4.0",
]
EXTRAS_REQUIRE = {
"docs": ["sphinx", "alabaster", "sphinxcontrib-embedly"],
"tests": ["redis", "testfixtures", "pytest", "tox"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["docs"]
setup(
name="Eve",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author="Nicola Iarocci",
author_email="[email protected]",
url="http://python-eve.org",
project_urls={
"Documentation": "http://python-eve.org",
"Code": "https://github.com/pyeve/eve",
"Issue tracker": "https://github.com/pyeve/eve/issues",
},
license="BSD",
platforms=["any"],
packages=find_packages(),
test_suite="eve.tests",
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)