public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* python-gtk2
@ 2016-09-14 15:08 Marco Atzeri
  2016-09-15 17:57 ` python-gtk2 Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2016-09-14 15:08 UTC (permalink / raw)
  To: cygwin

Hi Folks,

I am trying to use UPnP-Inspector
http://coherence.beebits.net/wiki/UPnP-Inspector

In the last development version   UPnP_Inspector-0.2.3-py2.7.egg
contains on     EGG-INFO/requires.txt

Coherence >= 0.6.4
Twisted
pygtk
setuptools

That causes the program to fail with
---------------------------------------------------------------
$ upnp-inspector
Traceback (most recent call last):
   File "/usr/bin/upnp-inspector", line 4, in <module>
     __import__('pkg_resources').run_script('UPnP-Inspector==0.2.3', 
'upnp-inspector')
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 3070, in <module>
     @_call_aside
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 3056, in _call_aside
     f(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 3083, in _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 645, in _build_master
     ws.require(__requires__)
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 946, in require
     needed = self.resolve(parse_requirements(requirements))
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", 
line 833, in resolve
     raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pygtk' distribution was not 
found and is required by UPnP-Inspector
---------------------------------------------------------------

If I remove the raw from requires.txt the program runs at least
partially.

I have the impression that pygtk is provided by python-gtk2,
that is installed, or it is something slight different that is needed ?


Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: python-gtk2
  2016-09-14 15:08 python-gtk2 Marco Atzeri
@ 2016-09-15 17:57 ` Yaakov Selkowitz
  2016-09-15 21:05   ` python-gtk2 Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov Selkowitz @ 2016-09-15 17:57 UTC (permalink / raw)
  To: cygwin

On 2016-09-14 08:14, Marco Atzeri wrote:
> I am trying to use UPnP-Inspector
> http://coherence.beebits.net/wiki/UPnP-Inspector
>
> In the last development version   UPnP_Inspector-0.2.3-py2.7.egg
> contains on     EGG-INFO/requires.txt
>
> Coherence >= 0.6.4
> Twisted
> pygtk
> setuptools

python-gtk2.0 provides the pygtk requirement.  My guess is that it is 
looking for some pkg-info stuff which isn't installed because pygtk is 
built with autotools instead of distutils.

I suggest building from the source .tar.gz instead of using the .egg.

-- 
Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: python-gtk2
  2016-09-15 17:57 ` python-gtk2 Yaakov Selkowitz
@ 2016-09-15 21:05   ` Marco Atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2016-09-15 21:05 UTC (permalink / raw)
  To: cygwin

On 15/09/2016 19:16, Yaakov Selkowitz wrote:
> On 2016-09-14 08:14, Marco Atzeri wrote:
>> I am trying to use UPnP-Inspector
>> http://coherence.beebits.net/wiki/UPnP-Inspector
>>
>> In the last development version   UPnP_Inspector-0.2.3-py2.7.egg
>> contains on     EGG-INFO/requires.txt
>>
>> Coherence >= 0.6.4
>> Twisted
>> pygtk
>> setuptools
>
> python-gtk2.0 provides the pygtk requirement.  My guess is that it is
> looking for some pkg-info stuff which isn't installed because pygtk is
> built with autotools instead of distutils.
>
> I suggest building from the source .tar.gz instead of using the .egg.

thanks for the confirmation.
I already installed directly by git source with

python ./setup.py install


Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-15 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 15:08 python-gtk2 Marco Atzeri
2016-09-15 17:57 ` python-gtk2 Yaakov Selkowitz
2016-09-15 21:05   ` python-gtk2 Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).