A tool for find dependencies relationships behind Python projects
Hellmut Weber
mail at hellmutweber.de
Tue Mar 16 06:54:49 EDT 2010
Am 24.02.2010 18:49, schrieb Victor Lin:
> On 2月23日, 上午12時32分, Hellmut Weber<m... at hellmutweber.de> wrote:
>> Hi Victor,
>> I would be intereseted to use your tool ;-)
>>
>> My system is Sabayon-5.1 on Lenovo T61.
>> Trying for the first time easy_install I get the following error:
>>
>> ====================
>>
>> root at sylvester ~ # easy_install gluttony
>> Searching for gluttony
>> Readinghttp://pypi.python.org/simple/gluttony/
>> Readinghttp://code.google.com/p/python-gluttony/
>> Best match: Gluttony 0.3
>>
>> Downloadinghttp://pypi.python.org/packages/source/G/Gluttony/Gluttony-0.3.zip#md...
>>
>> Processing Gluttony-0.3.zip
>> Running Gluttony-0.3/setup.py -q bdist_egg --dist-dir
>> /tmp/easy_install-uPz7qO/Gluttony-0.3/egg-dist-tmp-CJI_LD
>> Traceback (most recent call last):
>> File "/usr/bin/easy_install", line 9, in<module>
>> load_entry_point('distribute==0.6.8', 'console_scripts',
>> 'easy_install')()
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1708, in main
>> with_ei_usage(lambda:
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1696, in with_ei_usage
>> return f()
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1712, in<lambda>
>> distclass=DistributionWithoutHelpCommands, **kw
>> File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
>> dist.run_commands()
>> File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
>> self.run_command(cmd)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 236, in run
>> self.easy_install(spec, not self.no_deps)
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 471, in easy_install
>> return self.install_item(spec, dist.location, tmpdir, deps)
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 501, in install_item
>> dists = self.install_eggs(spec, download, tmpdir)
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 680, in install_eggs
>> return self.build_and_install(setup_script, setup_base)
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 957, in build_and_install
>> self.run_setup(setup_script, setup_base, args)
>> File
>> "/usr/lib64/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 946, in run_setup
>> run_setup(setup_script, args)
>> File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line
>> 29, in run_setup
>> lambda: execfile(
>> File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line
>> 70, in run
>> return func()
>> File "/usr/lib64/python2.6/site-packages/setuptools/sandbox.py", line
>> 31, in<lambda>
>> {'__file__':setup_script, '__name__':'__main__'}
>> File "setup.py", line 9, in<module>
>> File "/tmp/easy_install-uPz7qO/Gluttony-0.3/gluttony/__init__.py",
>> line 1, in<module>
>> #
>> File "/tmp/easy_install-uPz7qO/Gluttony-0.3/gluttony/gluttony.py",
>> line 13, in<module>
>> ImportError: No module named pip.log
>> root at sylvester ~ #
>>
>> ====================
>>
>> I emerged app-misc/pip, but that didn't help, the error remains the same
>>
>> What is missing?
>>
>> Any help appreciated
>>
>> Best regards
>>
>> Hellmut
>>
>> Am 19.02.2010 17:16, schrieb Victor Lin:
>>
>>
>>
>>
>>
>>> Hi,
>>
>>> I just wrote a tool for drawing dependencies relationships diagram of
>>> Python project on Pypi. Here is the home page of the tool:
>>
>>> http://code.google.com/p/python-gluttony/
>>
>>> Some examples:
>>> Sprox:
>>> http://static.ez2learn.com/gluttony/sprox_dot.png
>>
>>> TurboGears2:
>>> http://static.ez2learn.com/gluttony/tg2_dot.png
>>
>>> Hope this could be helpful :P
>>
>>> Regards.
>>> Victor Lin.
>>
>> --
>> Dr. Hellmut Weber m... at hellmutweber.de
>> Degenfeldstraße 2 tel +49-89-3081172
>> D-80803 München-Schwabing mobil +49-172-8450321
>> please: No DOCs, no PPTs. why: tinyurl.com/cbgq
>
> Hi,
>
> That is a mistake I made in when I am making the distribute. Thanks
> your reporting. I have already fixed the problem and released
> Gluttony 0.4, and I tried to install that, it works fine.
>
> Victor Lin.
Hi Victor,
thanks for your message.
Sorry I'm so late to answer, I've been offline for a while and didn't
remember not to have answered. ,-(
I downloaded Gluttony-0.4 and the installation was done in a few seconds.
It works just fine ;-)
Thanks for providing this tool
Cheers
Hellmut
--
Dr. Hellmut Weber mail at hellmutweber.de
Degenfeldstraße 2 tel +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq
More information about the Python-list
mailing list