Changeset 9572:30a165757255 in orange


Ignore:
Timestamp:
01/26/12 13:04:07 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Added setupegg.py script, removed the use of USE_SETUPTOOLS env variable in setup.py

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r9557 r9572  
    11#!usr/bin/env python 
    22 
    3 import os, sys 
    4 have_setuptools = False 
    5  
    6 if "USE_SETUPTOOLS" in os.environ: 
    7     try: 
    8         from setuptools import setup 
    9         have_setuptools = True 
    10     except ImportError: 
    11         have_setuptools = False 
    12          
     3import os, sys         
    134import distutils.core 
    145from distutils.core import setup 
     
    189from distutils.msvccompiler import MSVCCompiler 
    1910from distutils.unixccompiler import UnixCCompiler 
     11 
     12have_setuptools = getattr(distutils.core, "have_setuptools", False) # This is set in setupegg.py 
    2013 
    2114import re 
Note: See TracChangeset for help on using the changeset viewer.