-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
49 lines (39 loc) · 1.06 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
from setuptools import setup
import re
try:
verstrline = open('webui/_version.py', "rt").read()
except IOError:
raise RuntimeError("cannot read version file")
else:
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("unable to find version in yourpackage/_version.py")
setup(
# Application name:
name="puppet_webapp",
# Version number (initial):
version=verstr,
# Application author details:
author="Matt Cadorette",
author_email="mattc@puppet.com",
# Packages
packages=["webui"],
# Include additional files into the package
include_package_data=True,
# Details
url="https://github.com/ipcrm/puppet_webapp",
description="Example App",
test_suite='tests',
# Dependent packages (distributions)
install_requires=[
'Flask==0.10.1',
'Flask-Testing==0.4.2',
'itsdangerous==0.24',
'Jinja2==2.8',
'MarkupSafe==0.23',
'Werkzeug==0.11.9',
],
)