summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/bcppcompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/_distutils/bcppcompiler.py')
-rw-r--r--setuptools/_distutils/bcppcompiler.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/setuptools/_distutils/bcppcompiler.py b/setuptools/_distutils/bcppcompiler.py
index ee033ed9..80b6bd85 100644
--- a/setuptools/_distutils/bcppcompiler.py
+++ b/setuptools/_distutils/bcppcompiler.py
@@ -13,6 +13,8 @@ for the Borland C++ compiler.
import os
+import warnings
+
from distutils.errors import (
DistutilsExecError,
CompileError,
@@ -26,6 +28,14 @@ from distutils.dep_util import newer
from distutils import log
+warnings.warn(
+ "bcppcompiler is deprecated and slated to be removed "
+ "in the future. Please discontinue use or file an issue "
+ "with pypa/distutils describing your use case.",
+ DeprecationWarning,
+)
+
+
class BCPPCompiler(CCompiler):
"""Concrete class that implements an interface to the Borland C/C++
compiler, as defined by the CCompiler abstract class.