#2077: [PATCH] Make projects' .egg-info  directories resilient
----------------------------------+-----------------------------------------
 Reporter:  pjenvey               |       Owner:  Chris Arndt
     Type:  defect                |      Status:  new        
 Priority:  normal                |   Milestone:  2.0b1      
Component:  Quickstart Templates  |     Version:  trunk      
 Severity:  normal                |    Keywords:             
----------------------------------+-----------------------------------------
 TG2 projects' egg-info dirs contain 2 important files:
 paste_deploy_config.ini_tmpl (productionini for paster make-config) and
 paster_plugins.txt (tells paster what plugins are supported, like Pylons'
 paster shell)

 It's a common problem to lose both of these files due to deleting the
 .egg-info, or usually due to not checking it into VCS (nobody wants to
 check them in as their contents are always changing -- it's annoying).

 We've solved this in Pylons by doing 2 things: changing the
 paster_plugins.txt to always be re-generated from a value in setup.py
 during setup.py egg_info, and moving the paste_deploy_config.ini_tmpl out
 of the egg-info dir, into project/config/deployment.ini_tmpl

 The attached patch takes care of #1, #2 needs a:

 svn mv +egg+.egg-info/paste_deploy_config.ini_tmpl_tmpl
 +package+/config/deployment.ini_tmpl
 svn rm +egg+.egg-info

 and then likely the references to paste_deploy_config.ini_tmpl in the
 docs, if there are any, needs to change

 TG2 projects already use the pylons.util.PylonsInstaller that's already
 setup to look for deployment.ini_tmpl in the new location

 For more info our ticket about this was here:
 http://pylonshq.com/project/pylonshq/ticket/282

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2077>
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