This video demonstrates how easy it is to make new releases of a python package on GitHub, and publish it to pypi.org. Learn more about cf-remote: cfengine.com/company/blog-det...
Пікірлер: 8
@oziousmegasus92012 ай бұрын
github now has build-in script for pypi and only requires minor changes. I am still grateful for your instructions.
@mujykun3 жыл бұрын
thanks for the easy demonstration.
@AidenEllis3 жыл бұрын
This really helped a lot
@nielsuit3 жыл бұрын
Thanks for the video. Checked out your repo too. I'm curious how your `twine upload dist/*` gets its credentials? You add the secrets to the environmental variables but never call them?
@cfengine3 жыл бұрын
You don't call environment variables, they are available to the programs you run. Any program can check for environment variables (for example using os.getenv() in python). Here are the environment variables twine looks for: twine.readthedocs.io/en/latest/#environment-variables As you can see, we are using TWINE_USERNAME and TWINE_PASSWORD in the GitHub Action: github.com/cfengine/cf-remote/blob/35c3ac889c7c8a7642a559b84d0ec16b9710adf5/.github/workflows/python-publish.yml#L27-L28
@somethingfacty42043 жыл бұрын
But how to setup pypi password and username for uploading like this😅 Because i don't this
@cfengine3 жыл бұрын
Create an account on pypi.org/
@yotamarker2 жыл бұрын
fake tutorial : `long_description` has syntax errors in markup and would not be rendered on PyPI.