Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's make this a package #3

Closed
hwayne opened this issue Feb 3, 2020 · 9 comments
Closed

Let's make this a package #3

hwayne opened this issue Feb 3, 2020 · 9 comments

Comments

@hwayne
Copy link
Owner

hwayne commented Feb 3, 2020

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

@danielcompton
Copy link

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.

@ajdavis
Copy link

ajdavis commented Feb 3, 2020

I can help making this a PyPI package.

@hwayne
Copy link
Owner Author

hwayne commented Feb 4, 2020

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
Copy link

Kavec commented Feb 4, 2020

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.

@hwayne
Copy link
Owner Author

hwayne commented Feb 4, 2020

Oops broke the package

@hwayne
Copy link
Owner Author

hwayne commented Feb 4, 2020

Fixed I think???

@hwayne
Copy link
Owner Author

hwayne commented Feb 4, 2020

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

@hwayne
Copy link
Owner Author

hwayne commented Feb 4, 2020

WE DID IT https://pypi.org/project/tlacli/0.0.1/

@hwayne hwayne closed this as completed Feb 4, 2020
@ajdavis
Copy link

ajdavis commented Feb 4, 2020

Marvelous!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants