We all know that tgsetup.py sucks (#1317, #1740, #1741).
We all love virtualenv.
So here's a script that creates a virtualenv bootstrap script to install TurboGears in a new or existing virtual environment. Here is the help message from the created bootstrap script (tgsetupng.py == tgsetup Next Generation ;-)):
Usage: Usage: tgsetupng.py [OPTIONS] DEST_DIR [VERSION]
Installs the TurboGears framework in a virtual environment in DESTDIR.
Specify a particular version to install with VERSION.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose Increase verbosity
-q, --quiet Decrease verbosity
--clear Clear out the non-root install and start from scratch
--with-site-packages Give access to the global site-packages dir to the
virtual environment
--package-index=URL Find & download packages from package index at URL
Successfully tested on Ubuntu 7.10, Windows 2000 and Mac OS X 10.4.