must create virtualenv with same python we selected to run install.py
This commit is contained in:
@ -55,7 +55,7 @@ shutil.rmtree('buildwheel',True)
|
|||||||
os.putenv('LAMMPS_SHARED_LIB',args.lib)
|
os.putenv('LAMMPS_SHARED_LIB',args.lib)
|
||||||
#os.environ['LAMMPS_SHARED_LIB'] = args.lib
|
#os.environ['LAMMPS_SHARED_LIB'] = args.lib
|
||||||
shutil.copy(args.lib,'lammps')
|
shutil.copy(args.lib,'lammps')
|
||||||
os.system(sys.executable + ' -m virtualenv buildwheel')
|
os.system(sys.executable + ' -m virtualenv buildwheel -p ' + sys.executable)
|
||||||
os.system(sys.executable + ' makewheel.py')
|
os.system(sys.executable + ' makewheel.py')
|
||||||
|
|
||||||
# remove temporary folders and files
|
# remove temporary folders and files
|
||||||
|
|||||||
Reference in New Issue
Block a user