#2169: Migrating turbogears to pip
--------------------------+-------------------------------------------------
 Reporter:  jorge.vargas  |        Owner:  jorge.vargas
     Type:  task          |       Status:  new         
 Priority:  highest       |    Milestone:  2.0         
Component:  TurboGears    |      Version:  trunk       
 Severity:  normal        |   Resolution:              
 Keywords:  needs tests   |  
--------------------------+-------------------------------------------------
Comment (by jorge.vargas):

 = install =

 virtualenv --no-site-packages tg1pip
 cd tg1pip
 source bin/activate
 pip -E . install turbogears

 = Extremes fails to build (pip install) =

 == problem ==

 Assumes ez_setup is installed

 == fix ==

 patch, delete those 2 lines,
 real patch try/catch like tg does.

 = PEAK-Rules bad url (pip freeze) =

 == problem ==

 Unreleased version and bad info to point to the trunk

 couldn't find svn link for PEAK-Rules==0.5a1.dev-r2582

 == fix ==
 point http://pypi.python.org/pypi/PEAK-Rules/ to be http://svn.eby-
 sarna.com/PEAK-Rules/?

 2582 is trunk 2501 is 0.5a1

 = Conclusion =

 Never use easy_install with tg1 again!

 = tg1 package SpammCan =

 $ pip -E . install -e svn+svn://chrisarndt.de/projects/SpammCan/trunk

 == problem ==

 turbogears1 loading webob due to some weirdness... and entrypoints. who is
 saying that webob is a

 {{{

   Running setup.py egg_info for package SpammCan
     /home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/cherrypy/lib/profiler.py:54: UserWarning: Your installation of
 Python doesn't have a profile module. If you're on Debian, you can apt-get
 python2.4-profiler from non-free in a separate step. See
 http://www.cherrypy.org/wiki/ProfilingOnDebian for details.
       warnings.warn(msg)
     Traceback (most recent call last):
       File "<string>", line 13, in <module>
       File "/home/elpargo/tg/tg1pip/src/spammcan/setup.py", line 4, in
 <module>
         from turbogears.finddata import find_package_data
       File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/turbogears/__init__.py", line 21, in <module>
         ext = entrypoint.load()
       File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1912, in load
       File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1925, in
 require
       File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 524, in
 resolve
     pkg_resources.DistributionNotFound: WebOb
     Complete output from command python setup.py egg_info:
     /home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/cherrypy/lib/profiler.py:54: UserWarning: Your installation of
 Python doesn't have a profile module. If you're on Debian, you can apt-get
 python2.4-profiler from non-free in a separate step. See
 http://www.cherrypy.org/wiki/ProfilingOnDebian for details.

   warnings.warn(msg)

 Traceback (most recent call last):

   File "<string>", line 13, in <module>

   File "/home/elpargo/tg/tg1pip/src/spammcan/setup.py", line 4, in
 <module>

     from turbogears.finddata import find_package_data

   File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/turbogears/__init__.py", line 21, in <module>

     ext = entrypoint.load()

   File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1912, in load

   File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1925, in
 require

   File "/home/elpargo/tg/tg1pip/lib/python2.5/site-
 packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 524, in
 resolve

 pkg_resources.DistributionNotFound: WebOb
 }}}

 offending code
 {{{
 extensions = pkg_resources.iter_entry_points("turbogears.extensions")
 for entrypoint in extensions:
     ext = entrypoint.load()
     if hasattr(ext, "tgsymbols"):
         globals().update(ext.tgsymbols())
 }}}

 == fix ==

 Nothing yet

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2169#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to