Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
"0755" is a invalid syntax/number in python3, use "0o755" which works for
both python2 and python3
  • Loading branch information
Yi Tseng authored and antoninbas committed Dec 11, 2020
1 parent 0b249b8 commit 2ee0a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0):
os.system("zip -A '%s'" % fname)
of.close()
os.unlink(ofname)
os.chmod(fname,0755)
os.chmod(fname,0o755)
return fname


Expand Down

0 comments on commit 2ee0a8b

Please sign in to comment.