summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-03 06:33:14 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-05-03 06:33:14 -0400
commite59dd5c8b8d77acb4239a6dcee370cd7e399be6d (patch)
tree77a9611fefc297383258986acb5fbdc5f29dcd56 /setuptools/command
parent5d6fe655504d2ab327de70eae9912abd82b8f85a (diff)
parenta2579f78dc6f7b3d2b491969474d07e5a7ec60ed (diff)
downloadpython-setuptools-git-e59dd5c8b8d77acb4239a6dcee370cd7e399be6d.tar.gz
Merge branch 'master' of https://github.com/pypa/setuptools
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/bdist_wininst.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/setuptools/command/bdist_wininst.py b/setuptools/command/bdist_wininst.py
index 073de97b..ff4b6345 100644
--- a/setuptools/command/bdist_wininst.py
+++ b/setuptools/command/bdist_wininst.py
@@ -1,4 +1,7 @@
import distutils.command.bdist_wininst as orig
+import warnings
+
+from setuptools import SetuptoolsDeprecationWarning
class bdist_wininst(orig.bdist_wininst):
@@ -14,6 +17,12 @@ class bdist_wininst(orig.bdist_wininst):
return cmd
def run(self):
+ warnings.warn(
+ "bdist_wininst is deprecated and will be removed in a future "
+ "version. Use bdist_wheel (wheel packages) instead.",
+ SetuptoolsDeprecationWarning
+ )
+
self._is_running = True
try:
orig.bdist_wininst.run(self)