Skip to content

Commit f1716f1

Browse files
authored
Merge pull request #178 from hugovk/rm-2
Remove Python 2 advice
2 parents 19babb0 + 446c563 commit f1716f1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ <h3 id="pure-wheel">Pure Python</h3>
8282
<pre>
8383
pip install wheel</pre>
8484
<p>&hellip;and when you'd normally run <code>python setup.py sdist</code>, run instead <code>python setup.py sdist bdist_wheel</code>. For a more in-depth explanation, see this guide on <a href="https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/">sharing your labor of love</a>.</p>
85-
<p><em>Note: </em>If your project is Python 2 and 3 compatible you can create a universal wheel distribution. Create a file called <code>setup.cfg</code> with the following content and upload your package.</p>
86-
<pre>
87-
[bdist_wheel]
88-
universal = 1</pre>
89-
<p><strong>Warning: </strong>If your project has optional C extensions, it is recommended not to publish a universal wheel, because pip will prefer the wheel over a source installation.</p>
9085
<p><em>Note: </em>To include your project's license file in the wheel distribution, specify the <code>license_files</code> key in the <code>[metadata]</code> section. This helps comply with many open source licenses that require the license text to be included in every distributable artifact of the project. This option requires wheel 0.32 or newer.</p>
9186
<pre>
9287
[metadata]

0 commit comments

Comments
 (0)