-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.16 KB
/
setup.py
File metadata and controls
37 lines (32 loc) · 1.16 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
import re
import setuptools
with open("pika_pool.py") as version_file:
CODE = version_file.read()
with open("README.rst") as readme_file:
LONG_DESCRIPTION = readme_file.read()
setuptools.setup(
name="pika-pool",
version=(re.compile(r".*__version__ = \"(.*?)\"", re.S).match(CODE).group(1)),
url="https://github.com/bninja/pika-pool",
license="BSD",
author="egon",
author_email="egon@gb.com",
description="Pools for pikas.",
long_description=LONG_DESCRIPTION,
py_modules=["pika_pool"],
include_package_data=True,
platforms="any",
install_requires=["pika >=0.9,<0.11"],
extras_require={"tests": ["pytest >=2.5.2,<3", "pytest-cov >=1.7,<2"]},
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
],
)