-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
46 lines (42 loc) · 1.42 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
import re
from setuptools import setup
install_requirements = ["python-dateutil", "pytz"]
test_requirements = install_requirements + [
"pytest",
"coverage",
"mongoengine",
"sqlalchemy",
]
VERSION_FILE = "cleancat/__init__.py"
with open(VERSION_FILE, encoding="utf8") as f:
version = re.search(r'__version__ = ([\'"])(.*?)\1', f.read()).group(2)
setup(
name="cleancat",
version=version,
url="http://github.com/elasticsales/cleancat",
license="MIT",
author="Thomas Steinacher",
author_email="[email protected]",
maintainer="Thomas Steinacher",
maintainer_email="[email protected]",
description="Validation library for Python designed to be used with JSON REST frameworks",
long_description=__doc__,
packages=["cleancat"],
zip_safe=False,
platforms="any",
install_requires=install_requirements,
setup_requires=["pytest-runner"],
test_suite="tests",
tests_require=test_requirements,
extras_require={"test": test_requirements},
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)