Trying to install qgis2, and have gotten as far as not being able to read a shapefile using PyQGIS from Homebrew python (i.e. A standalone python script). I can read the file just fine with QGIS.app. Create-standalone-Mac-OS-X-applications-with-Python.md PythonでスタンドアロンのMac OS Xアプリケーションを作成する Pythonのプログラムを配布可能なアプリケーションを作成する方法について扱いま.
It's a neat tool that does the trick by making a stand alone executable from a Python script. The one problem I faced was, py2exe used to support only Python 2! Then I moved on to PyInstaller. Mac OS X 10.6 was shipped with Python 2.6 as the default version and PyObjC has been included in the default Python since Mac OS X 10.5. If you're using Mac OS X 10.6+ and the default Python that came with it, then rumps should be good to go! Py2app; For creating standalone apps, just make sure to include rumps in the packages list.
Locates and includes all plugins that ship with docutils (languages,parsers, readers, writers)
pydoc:
Removes several dependencies that are only used when running the pydocweb server or Tkinter GUI (Tkinter, tty, BaseHTTPServer, mimetools, select,threading, ic, getopt).
pygame:
Includes the whole pygame package as-is, so that it will locate its datafiles correctly. This recipe may be improved in the future if pygameundergoes appropriate modifications.
PIL:
Locates and includes all image plugins (Python modules that end withImagePlugin.py), removes unwanted dependencies on Tkinter.
Python Standalone Executable
pyOpenGL:
Includes the whole pyOpenGL package as-is, so that it can read its versionfile during __init__.py. This recipe may be improved in the future ifPyOpenGL undergoes appropriate modifications.
https://renoyellow604.weebly.com/blog/mac-mailapp-encryption. This means that, at least this way, Mail is fully capable of finding & accessing the keys/certs and decrypting the content, just not when the messages are stored in its own database. Apple Footer.This site contains user submitted content, comments and opinions and is for informational purposes only. It isn't an issue of Mail.app not accessing the keys/certs because, clearly, it can access them using the 'save to desktop and reopen from there' procedure that then works to display the attachment.
py2app:
Includes the whole py2app package as-is, so that it has copies of theexecutable and plugin templates. This recipe may be improved in the futureif py2app undergoes appropriate modifications.
If ANY extension that uses sip is detected, include all extensions that usesip. This is necessary because sip generates C code to do its imports,and is thus not trackable by bytecode analysis. The only package known to usesip is PyQt, so what this means is that if you use any of PyQt, thenall of it will be included.
Note that recipes are developed on anas-needed basis, and coverage of every single Python library is not possible.If you have trouble with a particular library, please let us know.
The following packages are known to need recipes, but none currently exist:
PEAK:
The workaround is to include PEAK using the packages option.
Anything that uses Pango or GTK+:
These C libraries require data files and environment variables set up.A workaround exists, but one has not yet been written and tested.
wxPython 2.4.x:
A data_files option to include a resource file must be added tosetup.py:
Home >BeeWare Project >Projects >Tools
Convert a Python project into a standalone native application.
Briefcase is a tool for converting a Python project into a standalone nativeapplication. You can package projects for:
Mac
Windows
Linux
iPhone/iPad
Android
Support for AppleTV, watchOS, wearOS and web deployments is planned.
Python App Download
If you want to see Briefcase in action, try the BeeWare tutorial. That tutorial walks you through theprocess of creating and packaging a new application with Briefcase.
How to help
Briefcase is part of the BeeWare suite.
If you experience problems with Briefcase, log them on GitHub . If you wantto contribute code, please fork the code and submit a pull request.