Skip to content

Commit

Permalink
Merge pull request #218 from QU35T-code/install
Browse files Browse the repository at this point in the history
Update setup.py adding dynamic requirements
  • Loading branch information
Dramelac authored Jun 23, 2024
2 parents e57c5d6 + 948fbaf commit d8cc8ec
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
for k, v in data_files_dict.items():
data_files.append((k, v))

with open("requirements.txt", "r", encoding="utf-8") as f:
requirements = [x.strip() for x in f.readlines()]

setup(
name='Exegol',
version=__version__,
Expand All @@ -54,14 +57,7 @@
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
install_requires=[
'docker~=7.0.0',
'requests~=2.31.0',
'rich~=13.7.1',
'PyYAML',
'GitPython~=3.1.43',
'argcomplete~=3.3.0'
],
install_requires=requirements,
packages=find_packages(exclude=["tests"]),
include_package_data=True,
data_files=data_files,
Expand Down

0 comments on commit d8cc8ec

Please sign in to comment.