Create the python package too
See original GitHub issuehttps://github.com/rom1504/taming-transformers/blob/master/.github/workflows/python-publish.yml is a good way to release when a GitHub release is created (put __token__
as user secret, and get a token in pypi for the password)
https://github.com/PrismarineJS/mineflayer/blob/master/.github/workflows/npm-publish.yml if you also have something like this then the release procedure will be to create a commit named “Release x.y.z” containing version update to package.json and setup.py (and maybe a change log) and then everything will be automatic:
- npm publish will publish to npm and create a GitHub release
- that will trigger pypi release which will release to pypi
(For the npm one you also need to put some npm token in secret)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Making a Python Package
Create the basic package structure · Write a setup.py · pip install -e . · Put some tests in package/test · pytest in...
Read more >How to Create Python Packages - Towards Data Science
In this article, we will learn how to build our own packages. And add them to the Python Package Index (PyPI). Afterward, we...
Read more >Packaging Python Projects
This tutorial walks you through how to package a simple Python project. It will show you how to add the necessary files and...
Read more >How to create a Python package in 2022 - Mathspp
In order to create a Python package, you need to write the code that implements the functionality you want to put in your...
Read more >How to Build a Python Package? - DevTeam.Space
You now need to build the packages that Python will require. This process involves creating a source distribution. You need to create a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Invitation sent.
Problem is that the version I published are
2015.x.x
, so you either need to delete them (which I’m not even sure would work), or publish a version number greater than2015.x.x
, you can though prepend the version number with1!
to restart the versioning scheme.Epoch have been made explicitely for this:
So this will allow you to have lower version numbers seen as more recent.
Congrats! Don’t forget to remove me as owner of all goes well.
On Thu, Jul 15, 2021, 11:01 Romain Beaumont @.***> wrote: