From 8d0462fe83ade9bbc1e07ec842da9c0ed44b6b43 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sat, 17 Dec 2022 12:01:04 +0100 Subject: [PATCH] Add some commands for publishing. --- docs/internals/publishing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/internals/publishing.md b/docs/internals/publishing.md index 6d4fd85..3e26fbd 100644 --- a/docs/internals/publishing.md +++ b/docs/internals/publishing.md @@ -2,6 +2,8 @@ A small note on how the linter is usually published to PyPi: +- `rm -r django_migration_linter.egg-info/` +- `pip install wheel twine` - `python3 setup.py sdist bdist_wheel --universal` - `twine upload dist/django_migration_linter-X.Y.Z-py3-none-any.whl dist/django-migration-linter-X.Y.Z.tar.gz`