From karstenwo at googlemail.com Fri Jan 2 17:19:12 2015 From: karstenwo at googlemail.com (Karsten Wolf) Date: Fri, 2 Jan 2015 17:19:12 +0100 Subject: [Pythonmac-SIG] PyObjC 3.0.1 on PyPI In-Reply-To: <8EEE996A-133A-4DE0-BCC8-E36A9D85831E@mac.com> References: <8EEE996A-133A-4DE0-BCC8-E36A9D85831E@mac.com> Message-ID: <039A5050-4EAC-464B-9697-81ADA0F98262@googlemail.com> It does not compile on OSX 10.6.8 / Py 2.7.9 32-bit only It tries to compile AVKit which is not available on 10.6. The file pyobjc-framework-AVKit/setup.py needs the following line in setup() min_os_level="10.9", -karsten On 27.07.2014, at 11:00, Ronald Oussoren wrote: > Hi, > > I?ve just pushed PyObjC 3.0.1 to PyPI. This is a major update to the previously uploaded release and contains a rewrite of the core bridge itself. All tests pass without problems, but there could still be problems. > ... From ronaldoussoren at mac.com Thu Jan 29 19:20:42 2015 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Thu, 29 Jan 2015 19:20:42 +0100 Subject: [Pythonmac-SIG] [Pyobjc-dev] Moving PyObjC and py2app forward In-Reply-To: <519297D1-FA37-4922-816D-6449F12C8882@mac.com> References: <519297D1-FA37-4922-816D-6449F12C8882@mac.com> Message-ID: > On 10 Dec 2014, at 23:11, Ronald Oussoren wrote: > I?m not sure how to make serious progress with my current load (both work and privately). Does anyone have experience with crowd-funding for open-source work? I guess not. I?m still interested in idea?s on how to improve development/support for PyObjC. Ronald > On 10 Dec 2014, at 23:11, Ronald Oussoren wrote: > > Hi, > > ?Tis the time to be contemplative, and I?ve been thinking a bit about PyObjC, py2app: what I?d like to do with them, and how much time I have to work on them. Things don?t quite add up because there?s a lot more that I?d like to do than I expect to be able to do in any reasonable timeframe. > > In no particular order (and far from complete): > > Finish work to add metadata for APIs introduced in OSX 10.10 and 10.9 (update existing framework wrappers and add new ones where appropriate) > > It should be pretty straightforward to add metadata now that objective.metadata is based on libclang (thanks to James Ranking). It is however still a relatively large amount of work because it is necessary to manually check which APIs require manual additions to the metadata, and because I prefer to add unittests for the framework wrappers because those have caught a fair amount of problems in the past. > > Python 3.4 adds an ?asyncio? library (with backports on PyPI). It would be useful to add a pluggable event loop that integrates with Cocoa?s runloop (NSRunloop and CFRunloop), and furthermore it would be interesting to see if the tasks and coroutines from asyncio can be used to simplify Cocoa code: any Cocoa code with a ?completionHandler? argument block might give nicer python code when used from a coroutine. > > That is, instead of something like: > > def onCompletion(result): > # ? > > anObject.runTaskWithCompletionHandler(onCompletion) > > you?d get something like: > > result = anObject.runTask() > # ? > > There needs to be a significant example of how to write a GUI without using XIB files. > To expand on the previous item: there needs to be a non-trivial example for writing a GUI with PyObjC that addresses issues one commonly runs into with writing code (aggressivly catch python exceptions before they cause problems in Cocoa, ?). This can be used to enhance PyObjC itself: instead of adding work-arounds for odd behavior try to address the root cause. > > It?s time to try to refactor py2app into a library that does the work and a setuptools extension for the API. There are two reasons for that: this gives us a fighting chance to add useful unittests (py2app?s tests currently are primarily slow integration tests), and secondly this would make it a lot easier to design a modern interface that doesn?t rely on setuptools (using a declarative configuration file, ?) > > py2app currently doesn?t support code signing, setuptools metadata, adding entire eggs/wheels and more. All of those are more and more necessary to ship the output of py2app outside of a controlled environment and AFAIK a number of py2app users work around the lack of those features by adding pre- and post-process scripting around py2app. > > Both py2app and PyObjC need significant work on their documentation. The documentation for py2app is minimal enough to make it effectively non-existing. > > PyObjC and py2app need some form of CI, especially for supporting platforms and libraries I don?t use regularly myself (for example OSX 10.6 support in PyObjC and support for PyQt in py2app). Something like Jenkins or buildbot could work, but setting up the infrastructure requires effort. I currently have to manually test, and due to lack of time I rarely run on older OSX releases and that seems to have resulted in breakage (for example issue #100 on PyObjC?s tracker). > > I?m not sure how to make serious progress with my current load (both work and privately). Does anyone have experience with crowd-funding for open-source work? > > Ronald > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk_______________________________________________ > Pyobjc-dev mailing list > Pyobjc-dev at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.barker at noaa.gov Thu Jan 29 21:17:46 2015 From: chris.barker at noaa.gov (Chris Barker) Date: Thu, 29 Jan 2015 12:17:46 -0800 Subject: [Pythonmac-SIG] [Pyobjc-dev] Moving PyObjC and py2app forward Message-ID: On Thu, Jan 29, 2015 at 10:20 AM, Ronald Oussoren wrote: > I?m not sure how to make serious progress with my current load (both work > and privately). Does anyone have experience with crowd-funding for > open-source work? > > > I guess not. I?m still interested in idea?s on how to improve > development/support for PyObjC. > I sure don't have any experience with crown funding. But are you saying that you could put time into it if you could get paid? Maybe kick starter? thought this: http://blog.felixbreuer.net/2013/04/24/crowdfunding-for-open-source.html indicates that it doesn't work well for Open source projects. Are you set up with a consultancy so that people could pay you for a particular bug fix or feature? For example, the US federal government (which I work for) can not donate to anything. We can, however, pay a contractor to provide a particular service. As an example, we are right now wrestling with PY2App to distribute a product. If we could have hired you to get that all set up for us, then you may have been able to get a few bugs fixed, while we could have gotten what we needed to economically. NOTE: it's too late now, and It might have been difficult for us to contract with a non-US entity, but you get the idea. As a matter of fact, we did something much like this with Robin Dunn, the wxPython developer -- we hired him to extend an app of ours that required some updating/improving of wxPython. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker at noaa.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: