If you have Docker installed:
docker build -t swaroopch/edn_format .
docker run --rm -v $PWD:/app swaroopch/edn_format python tests.pyRun unit tests with:
python tests.py
Check Python warnings with:
python -Wall -c 'import edn_format'
Run a linter over the code with:
flake8 --max-line-length=100 --exclude=parsetab.py .
- Bump up the version number in
setup.py, e.g.0.7.0 - Fill the
CHANGELOG.md - Create a new tag starting with
v, e.g.v0.7.5(see.github/workflows/publish-pypi.yml)
- Ensure you have setup GPG and
twine - Bump up the version number in
setup.py, e.g.0.7.0 - Fill the
CHANGELOG.md - Create a git tag:
git tag -s v0.7.0 -m 'Version 0.7.0'(use signed tags) - Verify git tag:
git tag -v v0.7.0 - Push git tag:
git push origin master --tags - Clean your
dist/directory if it already exists - Package the release:
python setup.py sdist bdist_wheel - Check the package:
twine check dist/* - Upload the package:
twine upload dist/*