パッケージを Pypi に設定したい。私が走るとき
python setup.py sdist bdist_wininst upload
このエラーが発生します:
File "setup.py", line 8, in <module>
long_description=open('README.txt').read(),
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/bdist_wininst.py", line 189, in run
self.create_exe(arcname, fullname, self.bitmap)
File "/usr/lib/python2.7/distutils/command/bdist_wininst.py", line 271, in create_exe
file.write(self.get_exe_bytes())
File "/usr/lib/python2.7/distutils/command/bdist_wininst.py", line 366, in get_exe_bytes
raise DistutilsFileError, str(msg) + ', %s not included in the Debian packages.' % filename
NameError: global name 'DistutilsFileError' is not defined
このエラーを修正するにはどうすればよいですか?