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

Virtualenv invocation incompatible with virtualenv 20.0 #23

Open
dspinellis opened this issue Jun 8, 2020 · 0 comments
Open

Virtualenv invocation incompatible with virtualenv 20.0 #23

dspinellis opened this issue Jun 8, 2020 · 0 comments

Comments

@dspinellis
Copy link

Running dpkg-buildpackage -v -us -uc on a make-deb-generated directory on a system with virtualenv 20.0.20, results in the following fatal error message.

virtualenv: error: unrecognized arguments: --no-site-packages
Traceback (most recent call last):
[...]
/opt/venvs/epidose']' returned non-zero exit status 2
make: *** [debian/rules:4: binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

A workaround to avoid this problem is to amend the rules file as follows:

printf '\n\noverride_dh_virtualenv:\n\tdh_virtualenv --use-system-packages\n' >>debian/rules
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