RE: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
I'm running Pylons 9.6 under vista 64bit on Python 2.6 64bit. To say it has been a mission to get it working is somewhat of an understatement. Setuptools / easy install is broken under 64bit windows - the exe files it ships with are 32bit and therefore spit blood when trying to execute [i.e. easy_install.exe does not work]. In the end I hacked dist_utils [as this wasn't finding the correct compiler] and relied on this and manually building and installing from source, pylons and it's dependencies. Next problem was that paste.exe suffers from the same problems, I'm having to directly run paster_script.py which functions in exactly the same way [same commands and switches etc]. -Original Message- From: pylons-discuss@googlegroups.com [mailto:pylons- [EMAIL PROTECTED] On Behalf Of Eric Ongerth Sent: 18 November 2008 07:35 To: pylons-discuss Subject: Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?) Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? On Nov 17, 10:31 pm, Eric Ongerth [EMAIL PROTECTED] wrote: Neither Pylons nor Paste install correctly at this time on the Win32 platform using easy_install, whether in a virtualenv or even in a system-wide install to a clean system. Just about everything goes fine until somewhere in the installation of Paste, where an error described only as None occurs. I was unable to find any path to obtaining a working Pylons install on Win32 under Python 2.6. (other than, of course, ditching Windows!) easy_install just does not install Paste correctly under 2.6, whether by itself or in Pylons. In another discussion somewhere I saw a thread where someone told Ian that even virtualenv 1.3 (reported on the virtualenv page to be 2.6- compatible) was not in fact working under 2.6 on Win32. Ian replied that virtualenv trunk should work. This gave me hope, but it still fell short. The one thing I forgot to try was Paste trunk. For now I think I'll leave the trunks on the train and stick with Python 2.5.2. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
Previously Mike Orr wrote: On Tue, Nov 18, 2008 at 12:22 AM, Lawrence Oluyede [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth [EMAIL PROTECTED] wrote: Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? It does: http://docs.python.org/library/json.html It does but I doubt Python provides sufficient egg-info data for easy_install to know the dependency is not needed. It can: setup.py is just python, so you can put conditional code in there that checks the python version and modifies install_requires accordingly. You need to do the same thing for the uuid module as well. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
On Tue, Nov 18, 2008 at 2:22 AM, Lawrence Oluyede [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth [EMAIL PROTECTED] wrote: Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? It does: http://docs.python.org/library/json.html but simpleJSON is compatible with older versions of python, so it should be prefered for compatibility issues. Also I remember reading that the py2.6 version didn't had the c speedups module therefore until py2.6.1 it is still recommended to use the thirdparty package. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth [EMAIL PROTECTED] wrote: Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? It does: http://docs.python.org/library/json.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
On Tue, Nov 18, 2008 at 12:22 AM, Lawrence Oluyede [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth [EMAIL PROTECTED] wrote: Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? It does: http://docs.python.org/library/json.html It does but I doubt Python provides sufficient egg-info data for easy_install to know the dependency is not needed. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
Neither Pylons nor Paste install correctly at this time on the Win32 platform using easy_install, whether in a virtualenv or even in a system-wide install to a clean system. Just about everything goes fine until somewhere in the installation of Paste, where an error described only as None occurs. I was unable to find any path to obtaining a working Pylons install on Win32 under Python 2.6. (other than, of course, ditching Windows!) easy_install just does not install Paste correctly under 2.6, whether by itself or in Pylons. In another discussion somewhere I saw a thread where someone told Ian that even virtualenv 1.3 (reported on the virtualenv page to be 2.6- compatible) was not in fact working under 2.6 on Win32. Ian replied that virtualenv trunk should work. This gave me hope, but it still fell short. The one thing I forgot to try was Paste trunk. For now I think I'll leave the trunks on the train and stick with Python 2.5.2. On Nov 12, 12:41 pm, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 1:48 AM, Alex Marandon [EMAIL PROTECTED] wrote: By the way is the production version of Pylons also know to be compatible? How about the libraries often used with Pylons (Routes, Mako, SQLAlchemy, Elixir, etc.)? Has anyone here started to migrate their production Pylons apps to Python2.6? I'm using Python 2.5 for three apps including one which will launch next month. If I weren't so busy and if the Python 3 switch weren't coming up in a few months, I might be more inclined to upgrade quicker. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of installing paste, pastescript, pastedeploy etc. Hey, I thought Python 2.6 includes the former simpleJSON as the new json module. No? On Nov 17, 10:31 pm, Eric Ongerth [EMAIL PROTECTED] wrote: Neither Pylons nor Paste install correctly at this time on the Win32 platform using easy_install, whether in a virtualenv or even in a system-wide install to a clean system. Just about everything goes fine until somewhere in the installation of Paste, where an error described only as None occurs. I was unable to find any path to obtaining a working Pylons install on Win32 under Python 2.6. (other than, of course, ditching Windows!) easy_install just does not install Paste correctly under 2.6, whether by itself or in Pylons. In another discussion somewhere I saw a thread where someone told Ian that even virtualenv 1.3 (reported on the virtualenv page to be 2.6- compatible) was not in fact working under 2.6 on Win32. Ian replied that virtualenv trunk should work. This gave me hope, but it still fell short. The one thing I forgot to try was Paste trunk. For now I think I'll leave the trunks on the train and stick with Python 2.5.2. On Nov 12, 12:41 pm, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 1:48 AM, Alex Marandon [EMAIL PROTECTED] wrote: By the way is the production version of Pylons also know to be compatible? How about the libraries often used with Pylons (Routes, Mako, SQLAlchemy, Elixir, etc.)? Has anyone here started to migrate their production Pylons apps to Python2.6? I'm using Python 2.5 for three apps including one which will launch next month. If I weren't so busy and if the Python 3 switch weren't coming up in a few months, I might be more inclined to upgrade quicker. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)
On Wed, Nov 12, 2008 at 1:48 AM, Alex Marandon [EMAIL PROTECTED] wrote: By the way is the production version of Pylons also know to be compatible? How about the libraries often used with Pylons (Routes, Mako, SQLAlchemy, Elixir, etc.)? Has anyone here started to migrate their production Pylons apps to Python 2.6? I'm using Python 2.5 for three apps including one which will launch next month. If I weren't so busy and if the Python 3 switch weren't coming up in a few months, I might be more inclined to upgrade quicker. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---