Re: Help needed to test packages with Django 1.7
Hi,
On Tue, 16 Sep 2014, Brian May wrote:
> On 11 September 2014 16:39, Brian May <brian@microcomaustralia.com.au>
> wrote:
>
> > Ok, will look into this tomorrow.
> Just pushed a change.
>
> Unfortunately, had problems testing this because "debian/rules clean"
> removes Django.egg-info/* which is flagged by git-buildpackage as
> uncommitted changes.
Recent versions of git-buildpackage should no longer call debian/rules
clean IIRC. But you can disable this with:
[DEFAULT]
cleaner = /bin/true
in ~/.gbp.conf
Alternatively you can build with "--git-ignore-new" too.
> Also django-migrate-south won't work without virtualenv installed. Was
> wondering if maybe I should add it to recommends (wheezy needs
> "python-virtualenv"; sid needs "virtualenv" installed).
I'm not sure that adding such a script in /usr/bin/ is a good idea.
It doesn't have a manpage, it's a temporary hack, etc.
I would put the script in the doc directory and I would document
to run it as:
sh /usr/share/doc/python-django/migrate-south --settings app.settings
Then it's more logical to not change the dependencies and just document
(as you did) the need to install virtualenv.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
Reply to: