1. Alexander Artemenko
  2. pip

Commits

Ian Bicking  committed 478d049

Prefer distutils

  • Participants
  • Parent commits 47b2393
  • Branches trunk

Comments (0)

Files changed (1)

File setup.py

View file
 import sys
-try:
+if sys.platform == 'win32':
     from setuptools import setup
-except ImportError:
-    if sys.platform == 'win32':
-        raise ImportError('Could not import setuptools: setuptools is required on Windows systems')
+else:
     from distutils.core import setup
 import os