Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to package a program I wrote that depends on Django 1.4.1 in Ubuntu 12.04. As Django 1.4.1 isn't available in Precise I am wondering if it is best to:

Package up Django 1.4.1 and drop it in my ppa

OR

write a script that wgets Django at build time and installs.

OR

Something better that I haven't thought of.

I am still inexperienced with packaging and would appreciate some advice

Thanks

share|improve this question

1 Answer 1

up vote 2 down vote accepted

A general solution is putting a notice on your PPA description for users to manually install newer version, e.g. "install Django 1.4.1 via this PPA first: [...]". However, I can't seem to find any semi-official PPA providing this latest release of Django.

For Quantal (12.10), 1.4.1 is already included in the main repositories (python-django in Quantal). So, try to re-build the regular Ubuntu package for Precise and put it in your PPA. That seems to be the easiest and best way in your case, I think. More people can profit from your work of backporting this Django version for Precise! It also allows you to set a clear dependency on your package.

I would avoid any scripts downloading and installing packages from source, unless licensing issues are forcing you this way - e.g. Adobe Flash, Oracle Java, MS fonts, etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.