-
Notifications
You must be signed in to change notification settings - Fork 81
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
[AIC-PY] + publish script for any pypi pkg, small mods to llama ext #265
Conversation
f916343
to
70d8fe2
Compare
@@ -0,0 +1,37 @@ | |||
#! /bin/zsh | |||
# pypipublish.sh | |||
# Usage: Run ./scripts/pypipublish.sh path/to/project/root conda-env-name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it make more sense to create an empty environment rather than depend on an existing one?
# Need to get a token from here (scroll down to API Tokens): https://pypi.org/manage/account/ | ||
# If you have issues, read the docs: https://packaging.python.org/en/latest/tutorials/packaging-projects/ | ||
|
||
# If you want to upload to testpypi, run pypipublish-test.sh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this exist? I don't see it in this diff
# For the password, use the token value, including the pypi- prefix. | ||
# To get a PyPi token, go here: | ||
# Need to get a token from here (scroll down to API Tokens): https://pypi.org/manage/account/ | ||
# If you have issues, read the docs: https://packaging.python.org/en/latest/tutorials/packaging-projects/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is publishing with account username and password an expected flow? I've noticed that the official publishing guide suggests using token
I think it would make more sense to expect .env or equivalent rather than typing it in at script run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving to unblock but had a couple of comments
[AIC-PY] + publish script for any pypi pkg, small mods to llama ext
Stack created with Sapling. Best reviewed with ReviewStack.