mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
IGN:Make build time dependency on setuptools optional.
This commit is contained in:
parent
df881c5de4
commit
1bf25f3235
@ -6,7 +6,13 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
|||||||
import sys, re, os, shutil, subprocess, stat, glob, zipfile, plistlib
|
import sys, re, os, shutil, subprocess, stat, glob, zipfile, plistlib
|
||||||
from setup import __version__ as VERSION, __appname__ as APPNAME, SRC, Command, \
|
from setup import __version__ as VERSION, __appname__ as APPNAME, SRC, Command, \
|
||||||
scripts, basenames, functions as main_functions, modules as main_modules
|
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:
|
try:
|
||||||
from py2app.build_app import py2app
|
from py2app.build_app import py2app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user