Skip to content

Commit 217e206

Browse files
committed
requirements for setup file
1 parent 91137a7 commit 217e206

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

setup.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
import re
12
import setuptools
23

34
with open("README.md", "r", encoding="utf-8") as fh:
45
long_description = fh.read()
56

7+
install_req = []
8+
with open('requirements.txt') as f:
9+
requirements = f.read()
10+
11+
for line in re.split('\n', requirements):
12+
install_req.append(line)
13+
14+
615
setuptools.setup(
716
name="localstack-utils",
817
description='An easy way to inclute Localstack with unit tests',
@@ -25,4 +34,5 @@
2534
package_dir={"": "localstack_utils"},
2635
packages=setuptools.find_packages(where="localstack_utils"),
2736
python_requires=">=3.6",
37+
install_requires=install_req
2838
)

0 commit comments

Comments
 (0)