diff options
author | Benjamin Bach <benjamin@overtag.dk> | 2022-08-19 23:23:32 +0300 |
---|---|---|
committer | Benjamin Bach <benjamin@overtag.dk> | 2022-08-19 23:23:32 +0300 |
commit | 8e65b61666f0502121a49588502c722a5e2929c2 (patch) | |
tree | 7fd2ebd05987d45400f338f7c6af8176862dce5f | |
parent | 5087916a0324eb016c17a3496324a46ab9604fa1 (diff) |
Adds wheel and a command to package bdist_wheel + sdist
-rw-r--r-- | docs/contributing.rst | 2 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index f4ed282..17d9945 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -184,7 +184,7 @@ To release a new version of the theme, core team will take the following steps: #. Update the changelog (``docs/changelog.rst``) with the version information. #. Run ``python setup.py update_translations`` to compile new translation files and update Transifex. -#. Run ``npm run build`` to rebuild all the theme assets and the Python +#. Run ``npm run build && python setup.py bdist_wheel sdist`` to rebuild all the theme assets and the Python package, notice that ``package-lock.json`` will be updated with a new package version. But take care that it isn't also bumping versions of dependencies in ways that are risky to the release. @@ -130,6 +130,7 @@ setup( 'transifex-client', 'sphinxcontrib-httpdomain', 'bump2version', + 'wheel', ], }, classifiers=[ |