mook / gmail-manager

Temporary maintenance fork of tmlong's Gmail Manager Firefox extension
http://www.longfocus.com/firefox/gmanager/
Other
12 stars 2 forks source link

Makefile for python 3 (not really a bug) #4

Closed grebulon closed 13 years ago

grebulon commented 13 years ago

To build with python 3, you need two changes in Makefile.py:

change: os.mkdir(".xpi-stage", 0755) to os.mkdir(".xpi-stage", 0o755)

change: print "Build complete." to print("Build complete.")

Just found that you have git for this...

mook commented 13 years ago

python3-compatible Makefile.py. Closed by 5fd597005901c7e00ef85f21c1234ffbf8ee3e43.

mook commented 13 years ago

Oh, and just a note - rather than 0o755 (which would be sensible), I went with the decimal equivalent of 493 (which is ridiculously opaque) because my MozillaBuild has python 2.5.something for some reason. Added a comment next to it though.