-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (47 loc) · 1.35 KB
/
setup.py
File metadata and controls
54 lines (47 loc) · 1.35 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from os.path import join, dirname
from setuptools import setup, find_packages
# IMPORTANT: updates to the following must also be done in __init__.py.
__version__ = "0.1.0"
__author__ = "Hugues Demers"
__email__ = "hdemers@gmail.com"
__license__ = "MIT"
GITHUB = "github.com/ooda"
# Put your dependencies here. Note that a tag of the form v0.1.3 must exists in
# your repo, since links of the following form will be automatically generated:
#
# git+http://username:password@github.com/ooda/package@v0.1.3#egg=package-0.1.3
#
dependencies = [
('cloudly', 'master'),
]
# Generate links
dependency_links = [
"git+https://{github}/{pkg}@{ver}#egg={pkg}-{ver}".format(
github=GITHUB,
pkg=package,
ver=version
)
for package, version in dependencies
]
github_install_requires = [
"{pkg}".format(
pkg=package,
ver=version,
)
for package, version in dependencies
]
setup(
name='webapp-template',
version=__version__,
description='Webapp template',
long_description=open(join(dirname(__file__), 'README.md')).read(),
author=__author__,
author_email=__email__,
license=__license__,
packages=find_packages(exclude=('tests', 'docs', 'data')),
dependency_links=dependency_links,
scripts=['bin/env_run.sh'],
install_requires=[
'flask',
] + github_install_requires
)