-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 988 Bytes
/
Copy pathsetup.py
File metadata and controls
42 lines (37 loc) · 988 Bytes
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
from setuptools import setup
import os
def find_data(starting_dir, the_dir):
original_cwd = os.getcwd()
tree = []
try:
os.chdir(starting_dir)
for folder, subs, files in os.walk(the_dir):
for file in files:
tree.append('{}/{}'.format(folder, file))
except Exception:
pass
os.chdir(original_cwd)
return tree
setup(
name='LambdaTool',
version='0.9.10',
packages=['lambdatool'],
description='Python Lambda utility',
author='Chuck Muckamuck',
author_email='Chuck.Muckamuck@gmail.com',
include_package_data=True,
package_data={'lambdatool': find_data('lambdatool', 'template')},
install_requires=[
'boto3>=1.4.3',
'GitPython>=2.1.7',
'Click>=6.7',
'PyYAML>=3.12',
'pymongo>=3.4.0',
'stackility>=0.3',
'Mako>=1.0.6'
],
entry_points="""
[console_scripts]
lambdatool=lambdatool.command:cli
"""
)