Skip to content

Commit

Permalink
Remove RTD C compile dependency hack
Browse files Browse the repository at this point in the history
  • Loading branch information
javh committed Jun 9, 2023
1 parent 2520bbd commit ca59f39
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lang/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
long_description = ip.read()

# Parse requirements
if os.environ.get('READTHEDOCS', None) == 'True':
# Set empty install_requires to get install to work on readthedocs
install_requires = []
else:
with open('requirements.txt') as req:
# if os.environ.get('READTHEDOCS', None) == 'True':
# # Set empty install_requires to get install to work on readthedocs
# install_requires = []
# else:
# with open('requirements.txt') as req:
# install_requires = req.read().splitlines()

with open('requirements.txt') as req:
install_requires = req.read().splitlines()

# Setup
Expand Down

0 comments on commit ca59f39

Please sign in to comment.