#932: Add dependency_links declaration to TurboGears setup.py
----------------------------------------+-----------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  anonymous
     Type:  enhancement                 |      Status:  new      
 Priority:  normal                      |   Milestone:  1.0b1    
Component:  TurboGears                  |     Version:  0.9a6    
 Severity:  normal                      |    Keywords:           
----------------------------------------+-----------------------------------
 By doing this, it becomes possible to package a patched TurboGears as an
 egg (such as what I do as a temporary solution to ticket:905) and have it
 download its dependencies properly upon installation.

 Advantage over specifying it on the easy_install command-line using -f:
 You don't have to specify it on the command-line using -f if you are
 installing a locally-built or otherwise custom-built egg.

 Advantage over specifying it in setup.cfg, as it is now:  That information
 doesn't get placed in *.egg-info directories, so is lost when building an
 egg.  The list specified in dependency_links in setup.py does, so it
 travels with the egg after it's been built.

 Simple patch:

 {{{
 Index: setup.py
 ===================================================================
 --- setup.py    (revision 1524)
 +++ setup.py    (working copy)
 @@ -42,6 +42,7 @@
          "cElementTree >= 1.0.5", "FormEncode >= 0.5.1",
          "setuptools >= 0.6a11",
          "RuleDispatch", "ConfigObj >= 4.3.0", "nose >= 0.8"],
 +    dependency_links = ['http://turbogears.org/preview/download/'],
      packages=find_packages(),
      include_package_data=True,
      exclude_package_data={"thirdparty" : ["*"]},
 }}}

 Of course, when the preview/download page becomes the main download page,
 this will need to be updated.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/932>
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.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to