python-zulip-api
python-zulip-api copied to clipboard
zulip lib: Initialize pyproject.toml for Poetry.
Still missing:
- there is currently no way to specify
data_files
for theintegrations/
folder to be copied toshare/zulip
(see https://github.com/zulip/python-zulip-api/blob/31365a8aacb01d11d2f4eb4ac7bf07ac88d43ad8/zulip/setup.py#L56). Relevant Poetry issue: https://github.com/python-poetry/poetry/issues/890. - since pyproject.toml is declarative, I can't add a function for it to read
__version__
fromzulip/__init__.py
. But someone had already implemented a plugin
Someone made a Poetry plugin for data_files
: https://github.com/python-poetry/poetry/issues/890#issuecomment-1140395857. As such, both issues have an unofficial solution. But it looks like there won't be any official solution any time soon (the issue I linked got closed anyway).
Should I close this PR and consider using Poetry to be a no-go?