Build wheels on Windows

This commit is contained in:
anatoly techtonik 2016-04-07 10:56:44 +03:00
parent cc0c9b2b0d
commit ee8073ce12

View File

@ -136,15 +136,20 @@ def run_one(op):
)
def run(op):
if 'PYTHON' in os.environ:
run_one(op)
else:
main(op)
if __name__ == '__main__':
args = sys.argv[1:]
if '--clean' in args:
clean()
op = 'install'
if '--dist' in args:
op = "bdist_wininst --user-access-control=auto"
if 'PYTHON' in os.environ:
run_one(op)
run('bdist_wininst --user-access-control=auto')
run('bdist_wheel')
else:
main(op)
run('install')