Skip to content

Commit a692370

Browse files
committed
fix setup.py
1 parent dc7ef8c commit a692370

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

setup.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
from setuptools import Command
99
from setuptools import setup
1010

11+
REQUIREMENTS = [
12+
"boto3",
13+
"click",
14+
"PyYAML",
15+
]
16+
PACKAGE_DATA = {
17+
"aws_lambda": ["project_templates/*"],
18+
"": ["*.json"],
19+
}
1120
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
1221
README = os.path.join(THIS_DIR, "README.md")
1322

@@ -47,10 +56,6 @@ def run(self):
4756
os.system("twine upload dist/*")
4857
sys.exit()
4958

50-
package_data = {
51-
"aws_lambda": ["project_templates/*"],
52-
"": ["*.json"],
53-
}
5459

5560
setup(
5661
name="python-lambda",
@@ -60,7 +65,10 @@ def run(self):
6065
packages=find_packages(),
6166
url="https://github.com/nficano/python-lambda",
6267
license="ISCL",
63-
package_data=package_data,
68+
package_data=PACKAGE_DATA,
69+
test_suite="tests",
70+
tests_require=[],
71+
install_requires=REQUIREMENTS,
6472
classifiers=[
6573
"Development Status :: 2 - Pre-Alpha",
6674
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)