Created
December 20, 2013 21:29
-
-
Save jimbaker/8061856 to your computer and use it in GitHub Desktop.
Problem in running setup.py from 2.0.2 branch of setuptools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jython-ssl setup.py install | |
running install | |
Checking .pth file support in /Users/jbaker/jythondev/jython-ssl/dist/Lib/site-packages/ | |
/Users/jbaker/jythondev/jython-ssl/dist/bin/jython -E -c pass | |
TEST PASSED: /Users/jbaker/jythondev/jython-ssl/dist/Lib/site-packages/ appears to support .pth files | |
/Users/jbaker/opensource/setuptools/setuptools/command/easy_install.py:304: UserWarning: Unbuilt egg for setuptools [unknown version] (/Users/jbaker/opensource/setuptools) | |
self.local_index = Environment(self.shadow_path+sys.path) | |
running bdist_egg | |
running egg_info | |
writing setuptools.egg-info/PKG-INFO | |
Traceback (most recent call last): | |
File "setup.py", line 200, in <module> | |
dist = setuptools.setup(**setup_params) | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/core.py", line 152, in setup | |
dist.run_commands() | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/core.py", line 152, in setup | |
dist.run_commands() | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/dist.py", line 953, in run_commands | |
self.run_command(cmd) | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/dist.py", line 972, in run_command | |
cmd_obj.run() | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/install.py", line 73, in run | |
self.do_egg_install() | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/install.py", line 93, in do_egg_install | |
self.run_command('bdist_egg') | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/cmd.py", line 326, in run_command | |
self.distribution.run_command(command) | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/dist.py", line 972, in run_command | |
cmd_obj.run() | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/bdist_egg.py", line 177, in run | |
self.run_command("egg_info") | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/cmd.py", line 326, in run_command | |
self.distribution.run_command(command) | |
File "/Users/jbaker/jythondev/jython-ssl/dist/Lib/distutils/dist.py", line 972, in run_command | |
cmd_obj.run() | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/egg_info.py", line 156, in run | |
writer(self, ep.name, os.path.join(self.egg_info,ep.name)) | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/egg_info.py", line 328, in write_pkg_info | |
bdist_egg.write_safety_flag(cmd.egg_info, safe) | |
File "/Users/jbaker/opensource/setuptools/setuptools/command/bdist_egg.py", line 418, in write_safety_flag | |
f=open(fn,'wt'); f.write('\n'); f.close() | |
ValueError: invalid mode: 'wt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed in https://bitbucket.org/jimbaker/jython-ssl/commits/1fc09080377c5d6457a6fa06b0235010486399d2