Changeset 10349:da7bff0e3b13 in orange for setup.py


Ignore:
Timestamp:
02/22/12 12:27:49 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Message:

Use setuptools version of install command when available (fixes failing installation with pip).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r10333 r10349  
    33import os, sys         
    44import distutils.core 
     5try: 
     6    from setuptools.command.install import install  
     7except ImportError: 
     8    from distutils.command.install import install 
     9 
    510from distutils.core import setup 
    611from distutils.core import Extension 
    712from distutils.command.build_ext import build_ext 
    813from distutils.command.install_lib import install_lib 
    9 from distutils.command.install import install 
    1014from distutils.util import convert_path 
    1115from distutils.msvccompiler import MSVCCompiler 
Note: See TracChangeset for help on using the changeset viewer.