Skip to content

Commit a11277d

Browse files
hoodmanehugovk
andauthored
Apply hugovk's edits
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 89a56a8 commit a11277d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

peps/pep-0783.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Abstract
1616
This PEP proposes a new platform tag series ``pyodide`` for binary Python package
1717
distributions for the Pyodide Python runtime.
1818

19-
`Emscripten <https://emscripten.org/>`__ is a complete open source compiler
19+
`Emscripten <https://emscripten.org/>`__ is a complete open-source compiler
2020
toolchain. It compiles C/C++ code into WebAssembly/JavaScript executables, for
2121
use in JavaScript runtimes, including browsers and Node.js. The Rust language
2222
also maintains an Emscripten target. :pep:`776` specifies Python's support for
@@ -161,24 +161,25 @@ Package Indexes
161161
---------------
162162

163163
Package indexes SHOULD accept any wheel whose platform tag matches
164-
``pyodide_[0-9]+_[0-9]+_wasm32``.
164+
the regular expression ``pyodide_[0-9]+_[0-9]+_wasm32``.
165165

166166

167167
Dependency Specifier Markers
168168
----------------------------
169169

170170
According to :pep:`776#platform-identification`, in Emscripten Python
171171
``sys.platform`` returns ``"emscripten"``. To check for the Emscripten platform in a
172-
dependency specifier, one can use ``sys_platform == 'emscripten'`` (or its
172+
dependency specifier, one can use ``sys_platform == "emscripten"`` (or its
173173
negation).
174174

175175

176176
Trove Classifier
177177
----------------
178178

179179
Packages that build and test Emscripten wheels can declare this by adding the
180-
``Environment :: WebAssembly :: Emscripten``. PyPI already accepts uploads of
181-
packages with this classifier.
180+
``Environment :: WebAssembly :: Emscripten`` classifier. PyPI already accepts uploads of
181+
`packages with this classifier
182+
<https://pypi.org/search/?q=&o=&c=Environment+%3A%3A+WebAssembly+%3A%3A+Emscripten>`__.
182183

183184

184185
Backwards Compatibility

0 commit comments

Comments
 (0)