Putting the Mac Build in the Apple App Store
![](https://secure.gravatar.com/avatar/60cac87fb9e2b5689242622999656cb0.jpg?s=120&d=mm&r=g)
Does anyone know what we would need to do to get Python in the Apple application store as a free App? The default security settings on OS X 10.8 block the installation of the DMG (or any software downloaded outside the app store). A number of my students are having difficulty getting around it will help. If we were in the app store, installation and upgrade would be a piece of cake. Raymond
![](https://secure.gravatar.com/avatar/bfc96d2a02d9113edb992eb96c205c5a.jpg?s=120&d=mm&r=g)
On Tue, Jun 4, 2013 at 12:44 PM, Raymond Hettinger <raymond.hettinger@gmail.com> wrote:
Does anyone know what we would need to do to get Python in the Apple application store as a free App?
The default security settings on OS X 10.8 block the installation of the DMG (or any software downloaded outside the app store). A number of my students are having difficulty getting around it will help.
If we were in the app store, installation and upgrade would be a piece of cake.
Raymond
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fijall%40gmail.com
doesn't it break apple's rules? generally you should not be able to download content from the internet and run it (like say javascript in the browser). I suppose python interpreter counts as that but hey, who knows. cheers, fijal
![](https://secure.gravatar.com/avatar/3b049c546acec8e2d428286d68cce17a.jpg?s=120&d=mm&r=g)
On Jun 3, 2013 9:45 PM, "Raymond Hettinger" <raymond.hettinger@gmail.com> wrote:
Does anyone know what we would need to do to get Python in the Apple
application store as a free App?
The default security settings on OS X 10.8 block the installation of the
DMG (or any software downloaded outside the app store). A number of my students are having difficulty getting around it will help.
If we were in the app store, installation and upgrade would be a piece of
cake. If you need another option, you could try installing Python via Homebrew ( http://brew.sh ). Homebrew itself is also easy to install. (Although admittedly I haven't tried Homebrew's Python, but my experience with their other packages has been good.) Cheers, Chris
![](https://secure.gravatar.com/avatar/137b739a75a31399e6d07140302c8efc.jpg?s=120&d=mm&r=g)
In article <770E1B33-4174-4880-9DA1-4E15E1818808@gmail.com>, Raymond Hettinger <raymond.hettinger@gmail.com> wrote:
Does anyone know what we would need to do to get Python in the Apple application store as a free App?
The default security settings on OS X 10.8 block the installation of the DMG (or any software downloaded outside the app store). A number of my students are having difficulty getting around it will help.
The ReadMe file included in the current Python OS X installer DMGs explains exactly how to get around the problem: "If you are attempting to install on an OS X 10.8 system, you may see a message that Python can't be installed because it is from an unidentified developer. This is because this Python installer package is not yet compatible with the Gatekeeper security feature introduced in OS X 10.8. To allow Python to be installed, you can override the Gatekeeper policy for this install. In the Finder, instead of double-clicking, control-click or right click the "Python" installer package icon. Then select "Open using ... Installer" from the contextual menu that appears." There are a number of other installers that haven't been updated yet for Gatekeeper, including the currant ActiveState Tcl installers. The same technique works for all of them. This is basic knowledge needed to use OS X 10.8. Even so, the Python installer will get updated.
If we were in the app store, installation and upgrade would be a piece of cake.
Sorry but, under the current Apple app store rules, Python would never be accepted. Among other things, it would need to be "sandboxed" meaning it could only use a very limited set of OS APIs and would have very limited access to the user's file system. Such a Python would not be very usable. -- Ned Deily, nad@acm.org
![](https://secure.gravatar.com/avatar/4be5600ac37733c75baf66d90f0be138.jpg?s=120&d=mm&r=g)
On 4 Jun, 2013, at 6:44, Raymond Hettinger <raymond.hettinger@gmail.com> wrote:
Does anyone know what we would need to do to get Python in the Apple application store as a free App?
The default security settings on OS X 10.8 block the installation of the DMG (or any software downloaded outside the app store). A number of my students are having difficulty getting around it will help.
If we were in the app store, installation and upgrade would be a piece of cake.
A problem with the app store is that the Python installation should then be an app (for example IDLE.app), and that the application must be sandboxed. The latter is showstopper, as scripts run with the interpreter would be sandboxed as well and hence couldn't access most of the system. A better solution for the problem with OSX 10.8's security settings it sign the installer with a developer ID. It can then be opened by double clicking because the app is provided by an "identified developer". A problem with signing the installer is that this requires changes to the installer, we're currently using an ancient installer format that cannot be signed. That should be changed some time in the future anyway and signing the installer could be a good reason to work on that. BTW. There is a workaround that makes it possible to install without signing the installer: right-click on the installer and select "open" (instead of double clicking the installer). The system will then give a scary warning, but will allow installation anyway. Ronald
Raymond
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ronaldoussoren%40mac.com
participants (5)
-
Chris Rebert
-
Maciej Fijalkowski
-
Ned Deily
-
Raymond Hettinger
-
Ronald Oussoren