File tree 3 files changed +3
-19
lines changed
3 files changed +3
-19
lines changed Original file line number Diff line number Diff line change
1
+ Added a deadline of Oct 31 to the setup.py install deprecation.
Original file line number Diff line number Diff line change
1
+ With ``setup.py install --prefix=... ``, fall back to distutils install rather than failing. Note that running ``setup.py install `` is deprecated.
Original file line number Diff line number Diff line change @@ -63,9 +63,7 @@ def initialize_options(self):
63
63
standards-based tools.
64
64
""" ,
65
65
see_url = "https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html" ,
66
- # TODO: Document how to bootstrap setuptools without install
67
- # (e.g. by unzipping the wheel file)
68
- # and then add a due_date to this warning.
66
+ due_date = (2025 , 10 , 31 ),
69
67
)
70
68
71
69
super ().initialize_options ()
@@ -93,19 +91,6 @@ def handle_extra_path(self):
93
91
self .extra_dirs = ''
94
92
return None
95
93
96
- def run (self ):
97
- # Explicit request for old-style install? Just do it
98
- if self .old_and_unmanageable or self .single_version_externally_managed :
99
- return super ().run ()
100
-
101
- if not self ._called_from_setup (inspect .currentframe ()):
102
- # Run in backward-compatibility mode to support bdist_* commands.
103
- super ().run ()
104
- else :
105
- self .do_egg_install ()
106
-
107
- return None
108
-
109
94
@staticmethod
110
95
def _called_from_setup (run_frame ):
111
96
"""
@@ -139,9 +124,6 @@ def _called_from_setup(run_frame):
139
124
140
125
return False
141
126
142
- def do_egg_install (self ) -> None :
143
- raise NotImplementedError ("Support for egg-based install has been removed." )
144
-
145
127
146
128
# XXX Python 3.1 doesn't see _nc if this is inside the class
147
129
install .sub_commands = [
You can’t perform that action at this time.
0 commit comments