From 1bf25f3235e5d55682e40974ec1276bcc14705ee Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 19 Oct 2009 09:56:33 -0600 Subject: [PATCH] IGN:Make build time dependency on setuptools optional. --- setup/installer/osx/freeze.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup/installer/osx/freeze.py b/setup/installer/osx/freeze.py index 1c0e766d21..281432fcf3 100644 --- a/setup/installer/osx/freeze.py +++ b/setup/installer/osx/freeze.py @@ -6,7 +6,13 @@ __copyright__ = '2008, Kovid Goyal ' import sys, re, os, shutil, subprocess, stat, glob, zipfile, plistlib from setup import __version__ as VERSION, __appname__ as APPNAME, SRC, Command, \ scripts, basenames, functions as main_functions, modules as main_modules -from setuptools import setup + +try: + from setuptools import setup +except: + setup + class setup: + pass try: from py2app.build_app import py2app