Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Poetry install takes too long and installs the package again unnecessarily #730
I'm wondering why it takes 13-30 seconds to install my package (on two different machines).
Nothing to install or update
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?
I plan on adding an option to
@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.