[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

A tool for find dependencies relationships behind Python projects

Victor Lin

2/19/2010 4:16:00 PM

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...

Some examples:
Sprox:
http://static.ez2learn.com/gluttony/spr...

TurboGears2:
http://static.ez2learn.com/gluttony/t...

Hope this could be helpful :P

Regards.
Victor Lin.
3 Answers

Hellmut Weber

2/22/2010 4:32:00 PM

0

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@sylvester ~ # easy_install gluttony
Searching for gluttony
Reading http://pypi.python.org/simple...
Reading http://code.google.com/p/python...
Best match: Gluttony 0.3


Downloading
http://pypi.python.org/packages/source/G/Gluttony/Gluttony-0.3.zip#md5=c7774d4fcc0402097f90dc...

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@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...
>
> Some examples:
> Sprox:
> http://static.ez2learn.com/gluttony/spr...
>
> TurboGears2:
> http://static.ez2learn.com/gluttony/t...
>
> Hope this could be helpful :P
>
> Regards.
> Victor Lin.

--
Dr. Hellmut Weber mail@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

Victor Lin

2/24/2010 5:49:00 PM

0

On 2?23?, ??12?32?, Hellmut Weber <m...@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@sylvester ~ # easy_install gluttony
> Searching for gluttony
> Readinghttp://pypi.python.org/simple...
> Readinghttp://code.google.com/p/python...
> Best match: Gluttony 0.3
>
> Downloadinghttp://pypi.python.org/packages/source/G/Gluttony/Gluttony-0......
>
> 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@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...
>
> > Some examples:
> > Sprox:
> >http://static.ez2learn.com/gluttony/spr...
>
> > TurboGears2:
> >http://static.ez2learn.com/gluttony/t...
>
> > Hope this could be helpful :P
>
> > Regards.
> > Victor Lin.
>
> --
> Dr. Hellmut Weber         m...@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.

Hellmut Weber

3/16/2010 10:55:00 AM

0

Am 24.02.2010 18:49, schrieb Victor Lin:
> On 2?23?, ??12?32?, Hellmut Weber<m...@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@sylvester ~ # easy_install gluttony
>> Searching for gluttony
>> Readinghttp://pypi.python.org/simple...
>> Readinghttp://code.google.com/p/python...
>> Best match: Gluttony 0.3
>>
>> Downloadinghttp://pypi.python.org/packages/source/G/Gluttony/Gluttony-......
>>
>> 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@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...
>>
>>> Some examples:
>>> Sprox:
>>> http://static.ez2learn.com/gluttony/spr...
>>
>>> TurboGears2:
>>> http://static.ez2learn.com/gluttony/t...
>>
>>> Hope this could be helpful :P
>>
>>> Regards.
>>> Victor Lin.
>>
>> --
>> Dr. Hellmut Weber m...@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@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