You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Installation
61
61
62
62
pip install xdis
63
63
64
-
*For Python releases before 3.11*, do not install using PyPI, but instead install using a file in the [GitHub Releases section](https://github.com/rocky/python-xdis/releases). Older Python used to use `easy_install <https://python101.pythonlibrary.org/chapter29_pip.html#using-easy-install>`_. But this is no longer supported in PyPi.
64
+
*For Python releases before 3.11*, do not install using PyPI, but instead install using a file in the [GitHub Releases section](https://github.com/rocky/python-xdis/releases). Older Python used to use `easy_install <https://python101.pythonlibrary.org/chapter29_pip.html#using-easy-install>`_. But this is no longer supported in PyPi or newer Python versions. And vice versa, *poetry* nor *pip*, (the newer ways) are not supported on older Pythons.
65
65
66
66
If the Python version you are running xdis is between Python 2.4 through 2.7, use a tarball called xdis_24-*x.y.z*.tar.gz.
67
67
@@ -75,31 +75,28 @@ If the Python version you are running xdis is 3.11 or later, use a called xdis-*
75
75
76
76
You can also try eggs or wheels that have the same version designation, e.g., xdis-*x.y.z*-py39-none-any.whl for a Python 3.9 installation. *However, note that *the version without the designation means Python 3.11 or greater*.
77
77
78
+
You can also try eggs or wheels that have the same version designation, e.g., xdis-*x.y.z*-py39-none-any.whl for a Python 3.9 installation. *However, note that *the version without the designation means Python 3.11 or greater*.
79
+
78
80
Similarly a tarball with without `_`*xx* works only from Python 3.11 or greater.
79
81
82
+
Rationale for using Git Branches
83
+
++++++++++++++++++++++++++++++++
84
+
85
+
It is currently impossible (if not impractical) to have one Python source code of this complexity and with this many features that can run both Python 2.7 and Python 3.13+. The languages have drifted so much, and Packing is vastly different. In fact, the packaging practice for Python 3.11+ is incompatible with Python 2.7 (and before back to Python 2.4), which favored "easy_install".
86
+
87
+
80
88
Installation from source text
81
89
++++++++++++++++++++++++++++++
82
90
83
-
The standard Python routine:
91
+
To install from source code, make sure you have the right Git
92
+
branch. See the Requirements section for the Git branch names.
84
93
85
-
::
94
+
After setting the right branch::
86
95
87
96
$ pip install -e . # or pip install -e .[dev] to include testing package
88
97
89
98
A GNU makefile is also provided so ``make install`` (possibly as root or sudo) will do the steps above.
90
99
91
-
To install older versions from source in git, use the branch
92
-
``python-2.4-to-2.7`` for Python versions from 2.4 to 2.7,
93
-
``python-3.1-to-3.2`` for Python versions from 3.1 to 3.2,
94
-
``python-3.3-to-3.5`` for Python versions from 3.3 to 3.5. The master
95
-
``python-3.6-to-3.10`` for Python versions from 3.6 to 3.10. The master
96
-
branch handles Python 3.11 and later.
97
-
98
-
Rationale for using Git Branches
99
-
++++++++++++++++++++++++++++++++
100
-
101
-
It is currently impossible (if not impractical) to have one Python source code of this complexity and with this many features that can run both Python 2.7 and Python 3.13+. The languages have drifted so much, and Packing is vastly different. In fact, the packaging practice for Python 3.11+ is incompatible with Python 2.7 (and before back to Python 2.4), which favored "easy_install".
0 commit comments