示例#1
0
    def finalize_options(self):

        entrypt = op.join(basedir, 'fsleyes', '__main__.py')
        assetdir = op.join(basedir, 'assets')
        iconfile = op.join(assetdir, 'icons', 'app_icon', 'fsleyes.icns')
        dociconfile = op.join(assetdir, 'icons', 'app_icon',
                              'fsleyes_doc.icns')
        plist = op.join(assetdir, 'build', 'Info.plist')
        assets = build_asset_list(False)

        self.quiet = True
        self.argv_emulation = True
        self.no_chdir = True
        self.optimize = True
        self.app = [entrypt]
        self.iconfile = iconfile
        self.dociconfile = dociconfile
        self.plist = plist
        self.resources = assets
        self.packages = [
            'OpenGL_accelerate', 'certifi', 'wxnat', 'nibabel', 'xnat'
        ]
        self.matplotlib_backends = ['wx_agg']
        self.excludes = ['IPython', 'ipykernel', 'Cython']

        orig_py2app.finalize_options(self)
示例#2
0
 def finalize_options(self):
     self.verbose = 0
     build_py2app.finalize_options(self)
示例#3
0
 def finalize_options(self):
     self.verbose = 0
     build_py2app.finalize_options(self)
     os.environ['ACTION'] = 'build'  # flag for app/deps/build.py
示例#4
0
 def finalize_options(self):
     self.verbose=0
     build_py2app.finalize_options(self)
     os.environ['ACTION'] = 'build' # flag for app/deps/build.py
示例#5
0
 def finalize_options(self):
     self.verbose=0
     build_py2app.finalize_options(self)
示例#6
0
文件: setup.py 项目: yaybu/Yaybu.app
 def finalize_options(self):
     py2app.finalize_options(self)
     self.setup_distribution()
     self.setup_plist()