diff options
author | 2022-11-14 16:43:12 +0530 | |
---|---|---|
committer | 2022-11-14 16:43:12 +0530 | |
commit | d47f8b48935d258f4c5c3e2267911753bebd5214 (patch) | |
tree | 3ed04e75bc3fc7c8e4ce618f527565da1df630a1 /env/lib/python3.10/site-packages/setuptools/command/build.py | |
parent | 9468226a9e2e2ab8cdd599f1d8538e860ca86120 (diff) | |
download | idcard-d47f8b48935d258f4c5c3e2267911753bebd5214.tar.gz idcard-d47f8b48935d258f4c5c3e2267911753bebd5214.tar.bz2 idcard-d47f8b48935d258f4c5c3e2267911753bebd5214.zip |
id card
Diffstat (limited to 'env/lib/python3.10/site-packages/setuptools/command/build.py')
-rw-r--r-- | env/lib/python3.10/site-packages/setuptools/command/build.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/env/lib/python3.10/site-packages/setuptools/command/build.py b/env/lib/python3.10/site-packages/setuptools/command/build.py deleted file mode 100644 index 12a4362..0000000 --- a/env/lib/python3.10/site-packages/setuptools/command/build.py +++ /dev/null @@ -1,24 +0,0 @@ -from distutils.command.build import build as _build -import warnings - -from setuptools import SetuptoolsDeprecationWarning - - -_ORIGINAL_SUBCOMMANDS = {"build_py", "build_clib", "build_ext", "build_scripts"} - - -class build(_build): - # copy to avoid sharing the object with parent class - sub_commands = _build.sub_commands[:] - - def run(self): - subcommands = {cmd[0] for cmd in _build.sub_commands} - if subcommands - _ORIGINAL_SUBCOMMANDS: - msg = """ - It seems that you are using `distutils.command.build` to add - new subcommands. Using `distutils` directly is considered deprecated, - please use `setuptools.command.build`. - """ - warnings.warn(msg, SetuptoolsDeprecationWarning) - self.sub_commands = _build.sub_commands - super().run() |