Last modified: 2014-11-09 19:59:33 UTC
This bug is reported by ytrezq in IRC ------------------------------------- I can't run setup.py successfully. It there's several built-in os functions for installing it : reading manifest file 'Pywikipediabot.egg-info\SOURCES.txt' writing manifest file 'Pywikipediabot.egg-info\SOURCES.txt' Copying Pywikipediabot.egg-info to C:\Program Files\Python34\Lib\site-packages\Pywikipediabot-2.0b1-py3.4.egg-info running install_scripts File "generate_user_files.py", line 58 os.makedirs(base_dir, mode=0700) ^ SyntaxError: invalid token os.makedirs(base_dir, mode=0700) is for Unix systems, and I'm using windows so it don't work. The error occures while running setup.py with python 3.4 in windows environment
While I don't know how 'mode' behaves on Windows machines, the error is a different one (which has been fixed): In Python 3 the octal mode requires to begin with '0o' while Python 2 also accepted just '0'. The current version is already using '0o' so at least this specific error shouldn't happen. See alse: https://docs.python.org/3.0/whatsnew/3.0.html#integers