add some comments to the refactored scripts to explain technical details

This commit is contained in:
Axel Kohlmeyer
2022-02-25 20:10:13 -05:00
parent 1dbff92eeb
commit 7fd41bea6a
2 changed files with 24 additions and 5 deletions

View File

@ -2,6 +2,7 @@
import sys,os,shutil
# find python script to activate the virtual environment and source it
if sys.platform == 'win32':
virtenv=os.path.join('buildwheel','Scripts','activate_this.py')
else:
@ -9,7 +10,9 @@ else:
exec(open(virtenv).read(), {'__file__': virtenv})
# update pip and install all requirements to build the wheel
os.system('python -m pip install --upgrade pip')
os.system('python -m pip install --upgrade -r wheel_requirements.txt')
print("Building new binary wheel")
os.system('python -m build -n --wheel -o .')