The Artima Developer Community
Sponsored Link

Python Buzz Forum
Testing Install Procedures

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Testing Install Procedures Posted: Oct 7, 2005 11:14 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Testing Install Procedures
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

I've been trying to test installation procedures for Paste as I get ready for a release. This is hard, because I've installed everything piecewise as I've been doing development.

So I've created a script to set up a non-root installation of Python, suitable for testing installation procedures. It follows the instructions located in the setuptools documentation; it's located in non_root_python.py.

To do testing I've created a new user on my system, so I don't mix things up with my normal development, and so I have nothing to lose. Then I use it like:

/usr/bin/python non_root_python.py --no-site-packages --clear

In the process it copies (symlinks) the standard library into ~/lib/pythonX.Y (and site-packages unless you use --no-site-packages).

The --clear argument can be used to reset the system quickly, so you can restart your installation process from zero.

I also use --include-package=sqlite --include-package=_sqlite to copy those modules/packages from site-packages, because easy_install doesn't install pysqlite very well.

You have to make sure ~/bin is first in your $PATH, but it's pretty straight-forward. I'll have to test the Windows installation procedure later.

Read: Testing Install Procedures

Topic: SQLObject 0.7b1 Previous Topic   Next Topic Topic: It is not just TurboGears

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use