Re: [Fink-users] about updating to python 2.7

2010-07-15 Thread Daniel E. Macks
Alexander Hansen alexanderk.han...@gmail.com said:
 There's another option to consider which involves not a whole lot of
 work for you.  Once you find your list of packages that you'd like to
 have -py27 variants for that don't currently have them, you can edit
 the package description as a superuser (you can see which file needs
 to be edited by running 'fink dumpinfo -finfofile packagename', making
 sure to include the -py26) and add 2.7 to the available python
 versions in the Type: python field.  Then try to build the package,
 and if it works, email the maintainer to let them know that their
 package can be trivially updated for 2.7.  If it doesn't work, also
 email the maintainer to let them know.

Two quick notes: 1) You don't usually need to be superuser to edit the
package description (.info) files. 2) python2.7 landed in fink a
week ago, I don't think anyone with the exception of the maintainer
himself has even had a chance to work on adding -py27 variants to
their pythonmod packages. We'd love the help!

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] about updating to python 2.7

2010-07-14 Thread Alexander Hansen
On Wed, Jul 14, 2010 at 5:58 AM, Alan alanwil...@gmail.com wrote:
 Hi there,
 I am thinking about to update my Fink python 2.6 to 2.7.

It's not really an 'update' per se, since different Pythons can coexist

However, as I do an
 extensive use of many modules from numpy (which is there for 2.7) to django
 (which is not yet) and sometimes not all modules are available yet for
 python 2.7, I may need to use something like eazy_install. What I don't know
 is if it's safe to do in a first moment 'easy_install django' and later,
 when e.g. django-py27 becomes available, fink install django-py27 would
 overwrite my previous easy_install django installation?

Have you emailed the maintainer for django?

I'm not sure where easy_install puts files, but very likely it would
install in your Fink tree.

 The clear point of using Fink for me is to be able to do 'fink update-all'
 and forget it. If resorting to 'easy_install' I would have more painstaking
 routine to keep my python modules updated, hence I want to be sure that the
 eventual Fink package will free me from this burden.

 BTW, is there a easy way to print out all the modules I have installed for
 python 2.6 with Fink so it would work as guide for me to update to python
 2.7?

fink list -i py26

 Many thanks,
 Alan
 --
 Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
 Department of Biochemistry, University of Cambridge.
 80 Tennis Court Road, Cambridge CB2 1GA, UK.
http://www.bio.cam.ac.uk/~awd28


There's another option to consider which involves not a whole lot of
work for you.  Once you find your list of packages that you'd like to
have -py27 variants for that don't currently have them, you can edit
the package description as a superuser (you can see which file needs
to be edited by running 'fink dumpinfo -finfofile packagename', making
sure to include the -py26) and add 2.7 to the available python
versions in the Type: python field.  Then try to build the package,
and if it works, email the maintainer to let them know that their
package can be trivially updated for 2.7.  If it doesn't work, also
email the maintainer to let them know.

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users