Undoing test fixes

This commit is contained in:
Anthony Johnson
2019-07-24 23:42:25 -06:00
parent 0e0ccffe18
commit 5052143f79
2 changed files with 9 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ Set up your environment
.. code:: console
pip install -e '.[docs]'
pip install -e '.[dev]'
#. Install SASS.
@@ -83,7 +83,7 @@ the following:
.. code:: console
python setup.py i18n
python setup.py update_translations
This will extract new messages, upload the messages to Transifex, and will
update our local translation files. Changes can be checked in to a branch and
@@ -100,7 +100,7 @@ To release a new version of the theme, core team will take the following steps:
we try to follow `semver <http://semver.org/>`_, so be careful with breaking changes.
#. Update the changelog (``docs/changelog.rst``) with the version information.
#. Run ``grunt build`` to rebuild all the theme assets.
#. Run ``python setup.py i18n`` to compile new translation files and update Transifex
#. Run ``python setup.py update_translations`` to compile new translation files and update Transifex
#. Commit that change.
#. Tag the release in git: ``git tag $NEW_VERSION``.
#. Push the tag to GitHub: ``git push --tags origin``.

View File

@@ -10,8 +10,10 @@ import distutils.cmd
from io import open
from setuptools import setup
from sphinx_rtd_theme import __version__
class LocalizeCommand(distutils.cmd.Command):
class UpdateTranslationsCommand(distutils.cmd.Command):
description = "Run all localization commands"
@@ -53,7 +55,7 @@ class TransifexCommand(distutils.cmd.Command):
setup(
name='sphinx_rtd_theme',
version='0.4.3.dev0',
version=__version__,
url='https://github.com/rtfd/sphinx_rtd_theme/',
license='MIT',
author='Dave Snider, Read the Docs, Inc. & contributors',
@@ -61,7 +63,7 @@ setup(
description='Read the Docs theme for Sphinx',
long_description=open('README.rst', encoding='utf-8').read(),
cmdclass={
'i18n': LocalizeCommand,
'update_translations': UpdateTranslationsCommand,
'transifex': TransifexCommand,
},
zip_safe=False,
@@ -81,7 +83,7 @@ setup(
]
},
install_requires=[
'sphinx<2.0'
'sphinx'
],
extras_require={
'dev': [