| |
@@ -1,5 +1,5 @@
|
| |
= Python Packaging Guidelines
|
| |
- :last-reviewed: 2021-06-04
|
| |
+ :last-reviewed: 2024-04-03
|
| |
|
| |
////
|
| |
|
| |
@@ -845,7 +845,7 @@
|
| |
|
| |
Note that removing extras is discouraged in
|
| |
https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#optional-dependencies[setuptools documentation]
|
| |
- (see the final paragraph of the linked section).
|
| |
+ (see the _Tip_ box near the end of the _Optional dependencies_ section).
|
| |
|
| |
==== Automatic Requires for extras
|
| |
|
| |
@@ -1386,8 +1386,7 @@
|
| |
(So, if you need to fix shebangs in files not named `+*.py+`,
|
| |
you need to list each file separately or use a Shell glob,
|
| |
such as `+%{buildroot}%{_libexecdir}/mytool/*+`.)
|
| |
- Existing flags are preserved and `+%{py3_shebang_flags}+` are added
|
| |
- (if not there already).
|
| |
+ Existing flags are preserved and `+%{py3_shebang_flags}+` are added.
|
| |
+
|
| |
For example,
|
| |
`+#! /usr/bin/env python+` will be changed to `+#! /usr/bin/python3 -s+`
|
| |