Skip to content

Commit d4de47f

Browse files
committed
fix distutils for panda3d
1 parent f972c9c commit d4de47f

File tree

192 files changed

+46134
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+46134
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This directory contains the Distutils package.
2+
3+
There's a full documentation available at:
4+
5+
https://docs.python.org/distutils/
6+
7+
The Distutils-SIG web page is also a good starting point:
8+
9+
https://www.python.org/sigs/distutils-sig/
10+
11+
$Id$
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"""distutils
2+
3+
The main package for the Python Module Distribution Utilities. Normally
4+
used from a setup script as
5+
6+
from distutils.core import setup
7+
8+
setup (...)
9+
"""
10+
11+
import sys
12+
import warnings
13+
14+
__version__ = sys.version[:sys.version.index(' ')]
15+
16+
_DEPRECATION_MESSAGE = ("The distutils package is deprecated and slated for "
17+
"removal in Python 3.12. Use setuptools or check "
18+
"PEP 632 for potential alternatives")
19+
warnings.warn(_DEPRECATION_MESSAGE,
20+
DeprecationWarning, 2)

0 commit comments

Comments
 (0)