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

Use custom build wheel packages #627

Closed
svartkanin opened this issue Feb 25, 2023 · 1 comment
Closed

Use custom build wheel packages #627

svartkanin opened this issue Feb 25, 2023 · 1 comment

Comments

@svartkanin
Copy link

Is there a way to add locally custom build wheel packages to the dependencies?

I have a 3rd party package that is not published to PyPi therefore installing it from there isn't an option.

@takluyver
Copy link
Member

The usual way to do this is to specify --index-url or --extra-index-url to pip when installing the package (if you use --extra-index-url, you should be aware of the possibility of dependency confusion attacks, where someone uploads a package with the same name on PyPI).

There isn't really a good way to specify where a package should come from in the dependencies of a package itself. See this blog post on concrete vs abstract requirements for more background on why things work that way.

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

2 participants