File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ This project is primarily
24
24
`a documentation project <http://pythonextensionpatterns.readthedocs.org/en/latest/index.html >`_
25
25
however it does contain a lot of code examples and tests.
26
26
27
+ Project Links
28
+ =============
29
+
30
+ - Source is `on GitHub <https://github.com/paulross/PythonExtensionPatterns >`_.
31
+ - Documentation `Read the Docs <http://pythonextensionpatterns.readthedocs.org/en/latest/index.html >`_.
32
+ - Project is `on PyPi <https://pypi.org/project/cPyExtPatt/ >`_.
33
+
27
34
This code can be installed as follows.
28
35
29
36
Setup
@@ -197,13 +204,14 @@ Building Everything
197
204
198
205
At the project root there is a script ``build_all.sh `` which, for every supported version of Python:
199
206
200
- - Creates a Python virtual environment (deleting any existing one).
201
- - Run ``pip install -r requirements.txt `` onn the virtual environment.
207
+ - Builds and tests the C/C++ code.
208
+ - Creates a Python virtual environment (optionally deleting any existing one).
209
+ - Run ``pip install -r requirements.txt `` on the virtual environment.
202
210
- Run ``python setup.py develop `` in that virtual environment.
203
211
- Run ``pytest tests/ ``.
204
212
- Run ``python setup.py bdist_wheel ``.
205
213
- Run ``python setup.py sdist ``.
206
- - Create the documentation.
214
+ - Optionally, create the documentation.
207
215
- Report the results.
208
216
209
217
The script will halt on the first error returning the error code.
Original file line number Diff line number Diff line change @@ -162,8 +162,6 @@ There are common drawbacks of code generators:
162
162
163
163
There are many other alternatives such as ``pypy ``, ``numba `` that are worth knowing about.
164
164
165
- .. _introduction_summary_advice :
166
-
167
165
------------------------------------
168
166
A Faustian Bargain
169
167
------------------------------------
@@ -180,6 +178,8 @@ quirks, to have any chance of being compatible with existing code.
180
178
Python C extensions will be around for a long time.
181
179
It is a skill worth learning.
182
180
181
+ .. _introduction_summary_advice :
182
+
183
183
------------------------------------
184
184
Summary Advice
185
185
------------------------------------
You can’t perform that action at this time.
0 commit comments