python-zulip-api icon indicating copy to clipboard operation
python-zulip-api copied to clipboard

zulip lib: Initialize pyproject.toml for Poetry.

Open rht opened this issue 2 years ago • 1 comments

Still missing:

  • there is currently no way to specify data_files for the integrations/ folder to be copied to share/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__ from zulip/__init__.py. But someone had already implemented a plugin

rht avatar Jun 10 '22 07:06 rht

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?

rht avatar Oct 05 '22 03:10 rht