1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-10-31 22:05:58 +00:00

Only import pluginbuilder when building the Cocoa version.

This commit is contained in:
Virgil Dupras 2011-02-22 10:04:54 +01:00
parent 92e0647f19
commit 0bdbbbdf16

View File

@ -14,7 +14,6 @@ import json
from setuptools import setup from setuptools import setup
from distutils.extension import Extension from distutils.extension import Extension
from pluginbuilder import build_plugin
from hscommon import sphinxgen from hscommon import sphinxgen
from hscommon.build import (add_to_pythonpath, print_and_do, copy_packages, from hscommon.build import (add_to_pythonpath, print_and_do, copy_packages,
@ -31,6 +30,7 @@ def parse_args():
return options return options
def build_cocoa(edition, dev): def build_cocoa(edition, dev):
from pluginbuilder import build_plugin
build_all_cocoa_locs('cocoalib') build_all_cocoa_locs('cocoalib')
build_all_cocoa_locs(op.join('cocoa', 'base')) build_all_cocoa_locs(op.join('cocoa', 'base'))
build_all_cocoa_locs(op.join('cocoa', edition)) build_all_cocoa_locs(op.join('cocoa', edition))