Skip to content

Commit 4f1181f

Browse files
committed
command.build_py have spec only in py3
1 parent 292b40f commit 4f1181f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Stubs for distutils.command.bdist_msi
22

33
from ..cmd import Command
4+
import sys
45

5-
class build_py(Command): ...
6-
class build_py_2to3(Command): ...
6+
if sys.version_info >= (3,):
7+
class build_py(Command): ...
8+
class build_py_2to3(Command): ...

0 commit comments

Comments
 (0)