Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a76bbd4

Browse files
committed
Import the new Extension class, so setup scripts can
"from distutils.core import" it.
1 parent 5322f00 commit a76bbd4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/distutils/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
import sys, os
1313
from types import *
1414
from distutils.errors import *
15+
16+
# Mainly import these so setup scripts can "from distutils.core import" them.
1517
from distutils.dist import Distribution
1618
from distutils.cmd import Command
19+
from distutils.extension import Extension
20+
1721

1822
# This is a barebones help message generated displayed when the user
1923
# runs the setup script with no arguments at all. More useful help

0 commit comments

Comments
 (0)