You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/guides/supporting-windows-using-appveyor.rst
+30-27Lines changed: 30 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,9 @@ Adding Appveyor support to your project
54
54
=======================================
55
55
56
56
In order to define how Appveyor should build your project, you need to add an
57
-
``appveyor.yml`` file to your project. The full details of what can be included
58
-
in the file are covered in the Appveyor documentation. This guide will provide
59
-
the details necessary to set up wheel builds.
57
+
:file:`appveyor.yml` file to your project. The full details of what can be
58
+
included in the file are covered in the Appveyor documentation. This guide will
59
+
provide the details necessary to set up wheel builds.
60
60
61
61
Appveyor includes by default all of the compiler toolchains needed to build
62
62
extensions for Python. For Python 2.7, 3.5+ and 32-bit versions of 3.3 and 3.4,
@@ -74,7 +74,7 @@ appveyor.yml
74
74
75
75
This file can be downloaded from `here <https://raw.githubusercontent.com/pypa/python-packaging-user-guide/master/source/guides/appveyor-sample/appveyor.yml>`__.
76
76
77
-
The ``appveyor.yml`` file must be located in the root directory of your
77
+
The :file:`appveyor.yml` file must be located in the root directory of your
78
78
project. It is in ``YAML`` format, and consists of a number of sections.
79
79
80
80
The ``environment`` section is the key to defining the Python versions for
@@ -101,10 +101,10 @@ The ``test_script`` section is where you will run your project's tests. The
101
101
supplied file runs your test suite using ``setup.py test``. If you are only
102
102
interested in building wheels, and not in running your tests on Windows, you
103
103
can replace this section with a dummy command such as ``echo Skipped Tests``.
104
-
You may wish to use another test tool, such as ``nose`` or ``py.test``. Or you
105
-
may wish to use a test driver like ``tox`` - however if you are using ``tox``
106
-
there are some additional configuration changes you will need to consider,
107
-
which are described below.
104
+
You may wish to use another test tool, such as ``nose`` or :file:`py.test`. Or
105
+
you may wish to use a test driver like ``tox`` - however if you are using
106
+
``tox`` there are some additional configuration changes you will need to
107
+
consider, which are described below.
108
108
109
109
The ``after_test`` runs once your tests have completed, and so is where the
110
110
wheels should be built. Assuming your project uses the recommended tools
@@ -118,10 +118,10 @@ tests to fail on Windows, you can skip them as described above.
118
118
Support script
119
119
--------------
120
120
121
-
The ``appveyor.yml`` file relies on a single support script, which sets up the
122
-
environment to use the SDK compiler for 64-bit builds on Python 3.3 and 3.4.
123
-
For projects which do not need a compiler, or which don't support 3.3 or 3.4 on
124
-
64-bit Windows, only the ``appveyor.yml`` file is needed.
121
+
The :file:`appveyor.yml` file relies on a single support script, which sets up
122
+
the environment to use the SDK compiler for 64-bit builds on Python 3.3 and
123
+
3.4. For projects which do not need a compiler, or which don't support 3.3 or
124
+
3.4 on 64-bit Windows, only the :file:`appveyor.yml` file is needed.
0 commit comments