Skip to content

Commit

Permalink
Fix requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
cwize1 authored and squirrelsc committed Jan 20, 2022
1 parent d751ead commit 8123d4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@

with open(requirement, "w") as req:
for module, version in dependencies.items():
if isinstance(version, dict):
# Remove platform specific dependencies.
continue
version = str(version)
assert isinstance(module, str)
if module in ["python", "pypiwin32", "PyGObject"]:
if module in ["python"]:
continue
if version.startswith("^"):
version = version[1:]
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pep8-naming>=0.12.0
types-toml>=0.1.5
Pillow>=9.0.0
azure-storage-file-share>=12.4.0
libvirt-python>={'version': '^7.10.0', 'platform': 'linux'}
pycdlib>=1.12.0
Sphinx>=4.1.0
sphinx-argparse>=0.2.5
Expand Down

0 comments on commit 8123d4d

Please sign in to comment.