Skip to content

Commit da9f2b5

Browse files
committed
Update README to display nicely on GitHub.
1 parent b13cfb6 commit da9f2b5

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,26 @@ Any app you submit to the Mac App Store must have a GUI. In Python there are a f
1010

1111
* **[Tkinter] / Tk** - Built-in to Python. Just works.
1212
* Poorly documented. Limited widget set.
13-
* <p>Overhead: Nothing</p>
13+
* Overhead: Nothing
1414
* **[PyObjC] / Cocoa**
1515
* Reasonably documented and maintained. (But requires you to learn Cocoa.)
1616
* Provides full access to all OS X native widgets.
17-
* <p>Overhead: Nothing</p>
17+
* Overhead: Nothing
1818
* **[ctypes] / Cocoa** - Low-level bindings directly to Cocoa frameworks.
1919
* Most direct way to access native Cocoa frameworks, albeit verbose.
20-
* Almost no online documentation for this approach.[^cocoa-python]
21-
* <p>Overhead: Nothing</p>
20+
* Almost no online documentation for this approach.
21+
* The [cocoa-python](https://code.google.com/p/cocoa-python/) library exposes a tiny subset of Cocoa using ctypes. Reading its source code is illustrative.
22+
* Overhead: Nothing
2223
* **[wxPython] / wxWidgets**
2324
* Well documented. Lots of widgets.
24-
* Cannot be submitted to Mac App Store due to wxPython's reliance on deprecated QuickTime APIs.[^wx-qt]
25-
* <p>Overhead: 38.7 MB uncompressed, 13.3 MB compressed</p>
25+
* Cannot be submitted to Mac App Store due to wxPython's reliance on [deprecated QuickTime APIs](https://groups.google.com/forum/#!topic/wxpython-mac/BeUS9GHigvE).
26+
* Overhead: 38.7 MB uncompressed, 13.3 MB compressed
2627
* **[PySide] / QT**
2728
* Well documented. Unsure if maintained.
2829
* The app created by py2app crashes with a segmentation fault. My guess is that the py2app needs a special "recipe" for PySide. I don't feel like writing one myself.
29-
* <p>Overhead: 16.6 MB uncompressed, 6.3 MB compressed (estimated)</p>
30+
* Overhead: 16.6 MB uncompressed, 6.3 MB compressed (estimated)
3031
* **[PyQt]4 / QT**
31-
* <p>Unable to build from source and no binary installers for OS X are available. Seriously don't people test anything these days?</p>
32+
* Unable to build from source and no binary installers for OS X are available. Seriously don't people test anything these days?
3233

3334
The above assessment leaves the following choices for Mac App Store apps:
3435

@@ -40,10 +41,6 @@ Probably PyObjC is the best choice to get full functionality. I'm disappointed t
4041

4142
This example app uses PyObjC by default but includes samples for several of the other GUI libraries.
4243

43-
[^cocoa-python]: The [cocoa-python](https://code.google.com/p/cocoa-python/) library exposes a tiny subset of Cocoa using ctypes. Reading its source code is illustrative.
44-
45-
[^wx-qt]: <https://groups.google.com/forum/#!topic/wxpython-mac/BeUS9GHigvE>
46-
4744
[ctypes]: https://docs.python.org/2/library/ctypes.html
4845
[Tkinter]: https://wiki.python.org/moin/TkInter
4946
[wxPython]: http://wxpython.org

0 commit comments

Comments
 (0)