Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a1ce9 commit aad1d84Copy full SHA for aad1d84
1 file changed
Lib/sysconfig.py
@@ -1,3 +1,5 @@
1
+# XXX: RUSTPYTHON; Trick to make sysconfig work as RustPython
2
+exec(r'''
3
"""Access to Python's configuration information."""
4
5
import os
@@ -851,10 +853,6 @@ def _main():
851
853
print()
852
854
_print_dict('Variables', get_config_vars())
855
-# XXX RUSTPYTHON: replace python with rustpython in all these paths
-for group in _INSTALL_SCHEMES.values():
856
- for key in group.keys():
857
- group[key] = group[key].replace("Python", "RustPython").replace("python", "rustpython")
858
-
859
if __name__ == '__main__':
860
_main()
+'''.replace("Python", "RustPython").replace("/python", "/rustpython"))
0 commit comments