update install.py script to build a wheel and install that
This commit is contained in:
15
python/makewheel.py
Normal file
15
python/makewheel.py
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys,os,shutil
|
||||
|
||||
if sys.platform == 'win32':
|
||||
virtenv=os.path.join('buildwheel','Scripts','activate_this.py')
|
||||
else:
|
||||
virtenv=os.path.join('buildwheel','bin','activate_this.py')
|
||||
|
||||
exec(open(virtenv).read(), {'__file__': virtenv})
|
||||
|
||||
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 --wheel -o .')
|
||||
Reference in New Issue
Block a user