10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compileall -s/-p
1 parent 965c480 commit fe6f8a3Copy full SHA for fe6f8a3
Doc/library/compileall.rst
@@ -56,11 +56,18 @@ compile Python sources.
56
executed.
57
58
.. option:: -s strip_prefix
59
+
60
+ Remove the given prefix from paths recorded in the ``.pyc`` files.
61
+ Paths are made relative to the prefix.
62
63
+ This option can be used with ``-p`` but not with ``-d``.
64
65
.. option:: -p prepend_prefix
66
- Remove (``-s``) or append (``-p``) the given prefix of paths
- recorded in the ``.pyc`` files.
- Cannot be combined with ``-d``.
67
+ Prepend the given prefix to paths recorded in the ``.pyc`` files.
68
+ Use ``-p /`` to make the paths absolute.
69
70
+ This option can be used with ``-s`` but not with ``-d``.
71
72
.. option:: -x regex
73
0 commit comments