[sqlalchemy] Re: Side by side versions on one machine.
Try virtualenv http://pypi.python.org/pypi/virtualenv On Apr 26, 2:31 pm, Mathieu Tozer math...@madebysofa.com wrote: Is it possible to have multiple installation versions on the one machine? I don't want to screw with my dev environment too much but want to try migrating up. -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
Re: [sqlalchemy] Re: Side by side versions on one machine.
If you only want to change the SQLAlchemy version and use easy install tools, I have done it by altering the sqlalchemy path in site_packages/easy-install.pth I find that easier than setting up virtual environments. If you need to change a lot of things including maybe the Python version, then virtualenv might be the way to go. -- Mike Conley -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
Re: [sqlalchemy] Re: Side by side versions on one machine.
On 04/26/2011 03:24 PM, Mike Conley wrote: If you only want to change the SQLAlchemy version and use easy install tools, I have done it by altering the sqlalchemy path in site_packages/easy-install.pth Or do this before you import SQLAlchemy: I find that easier than setting up virtual environments. If you need to change a lot of things including maybe the Python version, then virtualenv might be the way to go. -- Mike Conley -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en. -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
Re: [sqlalchemy] Re: Side by side versions on one machine.
On 04/26/2011 03:24 PM, Mike Conley wrote: If you only want to change the SQLAlchemy version and use easy install tools, I have done it by altering the sqlalchemy path in site_packages/easy-install.pth Sorry clicked wrong button to fast Use the multi version install, e.g.: # MULTI or SINGLE?!!! # # m = multi # Z = always unzip # a = always copy # x = exclude scripts # d = install directory # to install - Multiversion WITH SCRIPTS easy_install.main(['-Zmad', sitePKG, egg]) And then before you import SQLAlchemy do this to select the version: import pkg_resources pkg_resources.require(sqlalchemy) # get latest version ##pkg_resources.require(sqlalchemy==0.5.8) # get specific version Werner -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.