-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathsetup.py
executable file
·42 lines (35 loc) · 1.21 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
import sys
from setuptools import find_packages, setup
__VERSION__ = None
with open("powa/__init__.py") as f:
for line in f:
if line.startswith("__VERSION__"):
__VERSION__ = line.split("=")[1].replace('"', "").strip()
requires = ["tornado>=2.0", "psycopg2"]
# include ordereddict for python2.6
if sys.version_info < (2, 7, 0):
requires.append("ordereddict")
setup(
name="powa-web",
version=__VERSION__,
author="powa-team",
license="Postgresql",
packages=find_packages(),
install_requires=requires,
include_package_data=True,
url="https://powa.readthedocs.io/",
description="A User Interface for the PoWA project",
long_description="See https://powa.readthedocs.io/",
scripts=["powa-web"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Intended Audience :: End Users/Desktop",
"License :: Other/Proprietary License",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Database :: Front-Ends",
],
)