[Scipy-tickets] [SciPy] #504: sandbox setup.py can't read enabled_packages.txt

SciPy scipy-tickets@scipy....
Mon Sep 24 07:57:22 CDT 2007


#504: sandbox setup.py can't read enabled_packages.txt
----------------------+-----------------------------------------------------
 Reporter:  LevGivon  |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  0.7     
Component:  Other     |     Version:          
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 ./scipy/sandbox/setup.py in scipy 0.6.0 fails to read the file
 enabled_packages.txt properly (if the file indeed exists) because it
 doesn't construct the correct path. The following patch corrects the
 problem:

 {{{
 --- scipy/sandbox/setup.py.old  2007-09-24 08:47:55.000000000 -0400
 +++ scipy/sandbox/setup.py      2007-09-24 08:48:23.000000000 -0400
 @@ -9,7 +9,7 @@
      sandbox_packages = []
      try:
          sandbox_file = open(join(config.package_path,
 -                                 'enabled_packages.txt'), 'rU')
 +                                 '/enabled_packages.txt'), 'rU')
      except IOError:
          pass
      else:

 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/504>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list