[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building python debian packages and virtualenv



Hello,

Several times I have made the mistake of building a Debian package while a virtualenv is active. This results in the paths being incorrect in the Debian package. Sometimes the package build will fail as a result, this depends on the package.

Fortunately, so far I have always noticed this before uploading the package, however think it is only a matter of time before I stuff up an upload.

Just wondering if it would be considered appropriate to have, say, dh_auto_build fail if it is about to call setup.py and it is inside a virtualenv.

Just a thought.

Thanks.
--
Brian May <brian@microcomaustralia.com.au>

Reply to: