Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Bach <benjamin@overtag.dk>2022-08-19 23:23:32 +0300
committerBenjamin Bach <benjamin@overtag.dk>2022-08-19 23:23:32 +0300
commit8e65b61666f0502121a49588502c722a5e2929c2 (patch)
tree7fd2ebd05987d45400f338f7c6af8176862dce5f
parent5087916a0324eb016c17a3496324a46ab9604fa1 (diff)
Adds wheel and a command to package bdist_wheel + sdist
-rw-r--r--docs/contributing.rst2
-rw-r--r--setup.py1
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.
diff --git a/setup.py b/setup.py
index 15d371d..40fd95c 100644
--- a/setup.py
+++ b/setup.py
@@ -130,6 +130,7 @@ setup(
'transifex-client',
'sphinxcontrib-httpdomain',
'bump2version',
+ 'wheel',
],
},
classifiers=[