[Twisted-Python] Testing Debian Packages
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 there. For testing it, I use the following script:
>>>>>>> cut here <<<<<<<<<<<<<<<<<<<<<<<<< #!/bin/sh rm -rf ../debian-build mkdir ../debian-build fakeroot debian/rules clean bin/build-deb 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@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
participants (1)
-
Moshe Zadka