add some comments to the refactored scripts to explain technical details
This commit is contained in:
@ -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 .')
|
||||
|
||||
Reference in New Issue
Block a user