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

Add passing options via individual binary package headers #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wodny
Copy link

@wodny wodny commented Oct 22, 2022

Allow to specify dh-virtualenv options per binary package like so (debian/control):

Package: foo
Conflicts: foo-http
[...]
Package: foo-http
Conflicts: foo
X-Dh-Virtualenv-Extras: http
X-Dh-Virtualenv-Install-Suffix: foo

With the following in setup.cfg:

[options.extras_require]
http = aiohttp ~= 3.8

I wanted to build two debian packages with different extras and did not find an easier way. If this method seems reasonable and gets accepted, I will write and push documentation and some tests.

(cherry picked from commit a43d163)

@nailor
Copy link
Collaborator

nailor commented Jan 3, 2023

Hey,

sorry for a late reply here but definitely something that could be included in the package if you provide tests and documentation on it!

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

Successfully merging this pull request may close these issues.

2 participants