-
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
Poetry install takes too long and installs the package again unnecessarily #730
Comments
The I plan on adding an option to |
@sdispater is there any reason for the use of a If there is a better ticket to mention this in, please let me know. |
@bertjwregeer For pure python projects, we could do without the This is not possible however for packages with C extensions for instance. Poetry does not come with a compiler and as such has to rely on the |
The current "hack" for Poetry to do C extensions is to add extra content to the setup.py that is generated, correct? If it can be detected when that is the case and only then do the setup.py way, that would be fantastic. Building plugins to allow building Cython/C extensions for poetry would be even better, but that can come later. |
My current workaround is to use the |
@bertjwregeer This is one way to go, yes, and an easy one. I can probably target that for the |
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. |
Issue
I'm wondering why it takes 13-30 seconds to install my package (on two different machines).
This occurs when the package and it's dependencies are already installed.
`$ time poetry install -vvv
Using virtualenv: /Users/apayne/Envs/smithers
Installing dependencies from lock file
Nothing to install or update
real 0m29.542s
user 0m5.344s
sys 0m2.370s`
Smithers is the name of the package I'm installing with poetry. The installing smithers step takes the majority of the time. Is poetry doing anything but creating a symlink? I don't understand why this should take so long. If the package is already installed in editable mode, why does poetry try installing it again?
Much thanks!
The text was updated successfully, but these errors were encountered: