mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user