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

How to build a package with an option? #23

Open
fengwang opened this issue Feb 17, 2022 · 1 comment
Open

How to build a package with an option? #23

fengwang opened this issue Feb 17, 2022 · 1 comment

Comments

@fengwang
Copy link

I would like to build dvc with option azure. Using pip3, I can install it by executing pip3 install 'dvc[azure]', but using pypi2pkgbuild: pypi2pkgbuild.py -v 'dvc[azure]', I got such error message

$ pypi2pkgbuild.py -v  'dvc[azure]'         
DEBUG:pypi2pkgbuild:This is pypi2pkgbuild 0.3.post2+gdbdb652.
DEBUG:pypi2pkgbuild:Running subprocess:
pkgfile pkgfile >/dev/null
ERROR:pypi2pkgbuild:Package dvc[azure] not found.
@anntzer
Copy link
Owner

anntzer commented Feb 17, 2022

This was not supported due to pypa/pip#3797 (and the limitation (or rather a similar one) is noted in https://github.com/anntzer/pypi2pkgbuild/blob/main/TODO.rst#issues); I guess I could consider a PR that fixes that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants