hwayne/tlacli

Let's make this a package

hwayne opened this issue · 9 comments

So that people don't have to navigate to the folder every dang time

Not sure how hard it would be, but it would be handy to have a Homebrew package based on the Python package. This would be even more 'safe' for me to install. Then I don't need to worry about which Python I'm using, or conflicting packages, or any of the other issues with installing Python packages to the system Python.

I can help making this a PyPI package.

So uh, I was trying to fix the tests and I accidentally write a setup.py file

I guess the good news is this is going to be on PyPI a lot sooner than I expected

Kavec commented

https://github.com/python-poetry/poetry might be worth looking in to, as well.

Upside:

  • Ejects/hides a lot of the historical cruft of setup.py/requirement*.txt/virtualenvs/&c in favor of PEP 518 pyproject.toml

  • Does the upload-to-pypi step out of the box

Downside:

  • Relies on something like pyenv or tox to actually manage the installed python versions

I’m a big fan of this either way— most of my TLA+ stuff is done via the vscode extension. Being able to tell team members to install a package to interact with specs from the command line is much more feasible than asking them to configure a UI that I don’t spend time with myself.

Oops broke the package

Fixed I think???

This is NOT gonna look good in the Thought Leader Annual Reviews

Marvelous!