-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Originally reported by: Piotr_Dobrogost (Bitbucket: Piotr_Dobrogost, GitHub: Unknown)
pdobrogost@igo-www-dev:~/tmp/x$ which python && python --version && which easy_install && easy_install --version
/opt/python/2.7/bin/python
Python 2.7.6
/opt/python/2.7/bin/easy_install
setuptools 2.1
pdobrogost@igo-www-dev:~/tmp/x$ ls
packageX setup.py
pdobrogost@igo-www-dev:~/tmp/x$ ls packageX/
__init__.py test.txt
pdobrogost@igo-www-dev:~/tmp/x$ cat setup.py
from setuptools import setup
setup(
name="packageX",
version='1.0',
package_dir = {'', 'packageX'},
package_data = {
'': ['*.txt'],
},
zip_safe=False,
)
pdobrogost@igo-www-dev:~/tmp/x$ python setup.py bdist_egg
running bdist_egg
Traceback (most recent call last):
File "setup.py", line 10, in <module>
zip_safe=False,
File "/opt/python/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/python/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/python/2.7/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/opt/python/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py", line 104, in finalize_options
File "/opt/python/2.7/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command
cmd_obj.ensure_finalized()
File "/opt/python/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 80, in finalize_options
AttributeError: 'set' object has no attribute 'get'
pdobrogost@igo-www-dev:~/tmp/x$