-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
34 lines (31 loc) · 1.12 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
import setuptools
__VERSION__ = None
with open("powa_collector/__init__.py", "r") as fh:
for line in fh:
if line.startswith('__VERSION__'):
__VERSION__ = line.split('=')[1].replace("'", '').strip()
break
requires = ['psycopg2']
setuptools.setup(
name="powa-collector",
version=__VERSION__,
author="powa-team",
license='Postgresql',
author_email="[email protected]",
description="PoWA collector, a collector for performing remote snapshot with PoWA",
long_description="See https://powa.readthedocs.io/",
long_description_content_type="text/markdown",
url="https://powa.readthedocs.io/",
packages=setuptools.find_packages(),
install_requires=requires,
scripts=["powa-collector.py"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: PostgreSQL License",
"Operating System :: OS Independent",
"Intended Audience :: System Administrators",
"Topic :: Database :: Front-Ends"
],
)