Changeset 10828:9f259a79f12b in orange


Ignore:
Timestamp:
04/20/12 10:43:31 (2 years ago)
Author:
mitar
Branch:
default
Message:

A hack for setup.py to work on Ubuntu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r10825 r10828  
    66import glob, os, sys, types 
    77from distutils import log 
    8 from distutils.core import Extension 
    98from distutils.command.build import build 
    109from distutils.command.build_ext import build_ext 
     
    1918import subprocess 
    2019from subprocess import check_call 
     20 
     21# A hack to make setuptools in distutils work together on Ubuntu 
     22import distutils.extension 
     23import distutils.command.build_ext 
     24from distutils.extension import Extension as _Extension 
     25distutils.extension.Extension = _Extension 
     26distutils.command.build_ext.Extension = _Extension 
     27Extension = _Extension 
    2128 
    2229from setuptools import setup, find_packages 
Note: See TracChangeset for help on using the changeset viewer.