New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
split build and install part #59
Comments
We have similar problems packaging a Django project. Is there any way to work around that with the current version of Options we've considered:
Is there something we've missed? What do you recommend? |
I think the only viable solution for dh-virtualenv is to split in parts For now, running command after dh_virtualenv is probably the best bet. On Mon Nov 10 2014 at 11:20:44 AM Ludwig Hähne notifications@github.com
|
@Pankarat: There's now experimental support for this: http://dh-virtualenv.readthedocs.org/en/latest/usage.html#experimental-buildsystem-support I'm closing this issue, but will keep on working on more features as they are needed |
My solution to this was to do a collectstatic in the rules file just before the dh_virtualenv line. Then I moved the staticfiles directory and corresponding setting to my app directory and added the directory into the MANIFEST.in. This caused the setup.py to install the staticfiles dir into the virtualenv. |
For the moment,
dh-virtualenv
is running at the end of "install" part of debhelper.It would be great to be able to have a "build" part. I explain:
We are needing this, because we have to do some special command on venv to be able to build our software.
For example, to do a
collectstatic
on a django app we needing a complete venv. This static will be put in the right place in package withmypackage-static.install
file.I begin to work on it, here is for example command I used in
python_virtualenv.pm
:The text was updated successfully, but these errors were encountered: