Skip to content

Commit

Permalink
Update the code that reads requirements in setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandervsokol committed Oct 22, 2024
1 parent 3e55516 commit c4f5b30
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
with open('./README.md', 'r') as readme_file:
readme = readme_file.read()

with open('./tools/cl/convince/install_requirements.txt') as install_requirements:
install_requires = [line.strip() for line in install_requirements.readlines()]
# Gather package requirements from all packages in monorepo
install_requires = []
with open('./tools/cl/runtime/package_requirements.txt') as runtime_package_requirements:
install_requires.extend(line.strip() for line in runtime_package_requirements.readlines())
with open('./tools/cl/convince/package_requirements.txt') as convince_package_requirements:
install_requires.extend(line.strip() for line in convince_package_requirements.readlines())

setuptools.setup(
name='convince',
Expand Down

0 comments on commit c4f5b30

Please sign in to comment.