Skip to content

Commit 20b503e

Browse files
author
Thea Flowers
authored
Get Nox build session to work on Windows (pypa#488)
1 parent ca50e07 commit 20b503e

File tree

4 files changed

+5
-205
lines changed

4 files changed

+5
-205
lines changed

Makefile

Lines changed: 0 additions & 89 deletions
This file was deleted.

make.bat

Lines changed: 0 additions & 113 deletions
This file was deleted.

nox.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Attribution-ShareAlike license:
44
# http://creativecommons.org/licenses/by-sa/3.0.
55

6+
import shutil
67
import nox
78

89

@@ -12,7 +13,8 @@ def build(session):
1213
session.install('-r', 'requirements.txt')
1314
# Treat warnings as errors.
1415
session.env['SPHINXOPTS'] = '-W'
15-
session.run('make', 'clean', 'html')
16+
session.run(shutil.rmtree, 'build', ignore_errors=True)
17+
session.run('sphinx-build', '-W', '-b', 'html', 'source', 'build')
1618

1719

1820
@nox.session

source/guides/making-a-pypi-friendly-readme.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ typically in your project's :file:`setup.py` file.
3030

3131
.. seealso::
3232

33-
* :any:`metadata_description`
34-
* :any:`metadata_description_content_type`
33+
* :ref:`description-optional`
34+
* :ref:`description-content-type-optional`
3535

3636
For example, to set these values in a package's :file:`setup.py` file,
3737
use ``setup()``'s ``long_description`` and ``long_description_content_type``.

0 commit comments

Comments
 (0)