[Twisted-Python] Testing Debian Packages

Moshe Zadka m at moshez.org
Sat Aug 18 03:31:13 EDT 2001

Glyph thought that others would want to build Debian packages out
of CVS, so I checked in a small script, build-deb, which assumes
a sibling directory "debian-build" and builds the twisted package

For testing it, I use the following script:

>>>>>>>>>>>>> cut here <<<<<<<<<<<<<<<<<<<<<<<<<
rm -rf ../debian-build
mkdir ../debian-build
fakeroot debian/rules clean
cd ../debian-build
sudo dpkg -i *.deb
/usr/bin/mktap --uid 33 --gid 33 web --port 80 --static /var/www
/usr/bin/tap2deb -t web.tap -m 'Moshe Zadka <moshez at debian.org>' -u
sudo dpkg -i .build/*.deb
lynx localhost
sudo dpkg --purge twisted-web
sudo dpkg --remove twisted
>>>>>>>>>>>>> cut here <<<<<<<<<<<<<<<<<<<<<<<<<

Have fun!
The Official Moshe Zadka FAQ: http://moshez.geek
The Official Moshe Zadka FAQ For Dummies: http://moshez.org
Read the FAQ

More information about the Twisted-Python mailing list