Skip to content
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

[feature] Make dh-virtualenv usable from PyPI #256

Open
jhermann opened this issue Oct 1, 2018 · 0 comments
Open

[feature] Make dh-virtualenv usable from PyPI #256

jhermann opened this issue Oct 1, 2018 · 0 comments

Comments

@jhermann
Copy link
Contributor

jhermann commented Oct 1, 2018

Basic idea: Add dh-virtualenv as a tool to your dependencies, and enjoy a 'bdist_deb' setuptools command, ready to run.

Goal: Easier adoption, especially for 'simple' projects.

Assumptions:

  • There is a way to ‘spontaneously’ add the new step to debhelper (maybe via rules)
  • debhelper finds the local (project venv) dh-virtualenv, maybe with some nudging

Major TODOs:

  • Add glue code for the bdist_deb setuptools command (with a --docker-from=… option for container builds).
  • Add code that generates missing debian/ directory or necessary files ⇒ could be an extra ticket and its own feature.

Open questions:

  • The integration into debhelper needs experimentation, the rest is "just work". sudo dh_virtualenv --setup-system might be a viable solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant