-
Notifications
You must be signed in to change notification settings - Fork 21
Create a new release
Nick Moreton edited this page Jan 20, 2022
·
18 revisions
Create a new release and upload to PyPi
Clone this repo
cd wagtail-wordpress-import (stay on the main branch)
- Bump the version in <package_name>/init.py and commit it. Then push to the main branch.
GitHub Web:
- Create a github release (on the right hand side when you view the repository on the web)
Locally: (to create the package files)
- run
pip install --upgrade wheel setuptools twine - run
python setup.py bdist_wheel - run
python setup.py sdist - Then cd into the
distfolder the above commands will have created - run
twine upload <filename>on both of the files (you will be asked for your PyPI login details here)