-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Is there a way to depend on local dependencies? #47
Comments
If they are in a distribution format (tarball or wheel), yes you can (since version 0.8.0), like so: [tool.poetry.dependencies]
foo-package = { file = "relative/path/to/distribution" } |
yeah, I saw When I'm working in Rust, I can point to any directory that has a |
I plan on adding this, yes. It will most likely land in the next feature release. |
This is now supported in release |
@sdispater I can't find a documentation for this feature, can you explain what is the syntax to do this? |
The documentation is here: https://poetry.eustace.io/docs/versions/#path-dependencies |
@sdispater ah perfect, thank you! |
Can I somehow make this so poetry only uses the defined path if available, but if not, still checks normal repositories? |
But what about already installed dependencies, like another project (library) installed |
Updated docs link for anybody still landing on this page: https://python-poetry.org/docs/dependency-specification#path-dependencies |
Please note that path dependencies are not always a solution. See #34 for more info. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If I prefer to include my vendored dependencies directly in my repository, is there a way for me to specify them as a dependency?
e.g., if I have
vendor/foo
, it seems it'd be nice if I could specify a dependency likeThe text was updated successfully, but these errors were encountered: