must copy wheel to olddir when -w flag is not given

This commit is contained in:
Axel Kohlmeyer
2023-07-03 09:53:59 -04:00
parent b7bfc86eaf
commit d23cebf9f1

View File

@ -105,8 +105,8 @@ os.system(sys.executable + ' makewheel.py')
for wheel in glob.glob('lammps-*.whl'):
if args.wheeldir:
shutil.copy(wheel, args.wheeldir)
print('wheel = ', wheel)
else:
shutil.copy(wheel, olddir)
# remove temporary folders and files
os.chdir(olddir)