3 ms·
`poetry new`[0] is what you are looking for, previously I have used pyscaffold[1] but I like the pyproject.toml from PEP 518[2] better than all the old stuff. U
by Datenstrom 7y ago
`poetry new`[0] is what you are looking for, previously I have used pyscaffold[1] but I like the pyproject.toml from PEP 518[2] better than all the old stuff. Unfortunately poetry does not set up docs like pyscaffold does though.
[0]: https://poetry.eustace.io/ https://poetry.eustace.io/
[1]: https://pyscaffold.org/en/latest/ https://pyscaffold.org/en/latest/
[2]: https://www.python.org/dev/peps/pep-0518/ https://www.python.org/dev/peps/pep-0518/
- zomglings 7y agoNice, thank you! Will definitely check out poetry now - have been avoiding it for reasons of inertia so far. :)
- j88439h84 7y agopoetry new --src projectname is my preference these days.
- theHamsta 7y agoPsyscaffold has a --pyproject option (or at least an add-on linked in the readme, don't remember)
- ptx 7y agoI never tried Poetry because of this somewhat worrying part of installation instructions: "The installer installs the poetry tool to Poetry's bin directory ... located at $HOME/.poetry/bin ...This directory will be in your $PATH environment variable". The directory will be in my PATH? That makes me wonder what else it might take the liberty to reconfigure on my system. But, reading the installer script, it seems like it at least prompts you for confirmation first, so perhaps I'll try it.