Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def run(self):
"""
This generates `dropin.cache` files for mimic's plugins.
"""
list(getPlugins(IPlugin, package=plugins))
list(getPlugins(IPlugin))
py2app.run(self)
def run(self):
build_py2app.run(self)
if self.dry_run:
return
# undo py2app's weird treatment of the config.version value
info_pth = 'dist/PlotDevice.app/Contents/Info.plist'
update_plist(info_pth, CFBundleShortVersionString=None)
# set up internal paths and ensure destination dirs exist
RSRC = self.resdir
BIN = join(dirname(RSRC), 'SharedSupport')
LIB = join(RSRC, 'python')
MODULES = join(self.bdist_base, 'lib')
# install the module in Resources/python
self.spawn(['/usr/bin/ditto', MODULES, LIB])
def run(self):
print "Building %s v%s (%s)" % (self.config.get('longAppName'), self.config.get('appVersion'), self.config.get('appRevision'))
self.setup_info_plist()
py2app.run(self)
self.fix_frameworks_alias()
self.precompile_site_pyc()
self.copy_quicktime_components()
self.copy_conversion_helpers()
self.copy_codegen_helpers()
self.copy_libsqlite3()
self.copy_ffmpeg_presets()
self.copy_portable_resources()
self.copy_extensions()
self.copy_config_file()
self.copy_localization_files()
if self.theme is not None:
self.copy_theme_files()
if not self.alias:
self.relocate_python_executable()
def run(self):
py2app_cmd.run(self)
self.setup_directories()
self.copy_ffmpeg()
self.copy_sparkle()
self.copy_update_public_key()
self.delete_site_py()