How do you pip install package maintained with poetry from github?
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Question
How do you pip instal package (maintained with poetry) from github? When I want people to try latest development version from github, they can’t install it in their venv using pip install git+URL
because repo doesn’t have setup.py
file. What’s the best solution here - should I add ./dist/*
to github, manually create setupy.py
or something else?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:24
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Dependency Management With Python Poetry
With the install command, Poetry checks your pyproject.toml file for dependencies then resolves and installs them. The resolving part is ...
Read more >Introduction | Documentation | Poetry - Python dependency ...
Installation # · Add Poetry to your PATH. The installer creates a poetry wrapper in a well-known, platform-specific directory: $HOME/.local/bin on Unix. ·...
Read more >pip install your poetry.lock - bneijt.nl
The best way to install poetry-lock-package is to just add it to poetry using poetry add --dev poetry-lock-package . You could also use...
Read more >poetry - PyPI
Poetry : Python packaging and dependency management made easy ... Poetry helps you declare, manage and install dependencies of Python projects, ensuring you...
Read more >Stop using Pip, use Poetry Instead! | by Nick Anthony | Medium
With all that out of the way, poetry usage is as straightforward as pip. We can simply poetry install <package-name> to install our...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pip 19.0 was released on 22 January 2019, and I have just successfully Pip-installed a Poetry-managed Python package from a git repository without
setup.py
. So I guess this issue can be closed.@jhrmnn Can you tell he how you got this to work ?
I’m using pip 19.2.2 and I can’t seem to install my poetry project using pip
It is still trying to run
setup.py
Thanks for any help