Re: [Pyobjc-dev] Installing pyobjc?
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2012-09-18 11:20:52
|
On 7 Sep, 2012, at 20:11, Mark Sienkiewicz <sie...@st...> wrote: > >>> Also, do you have any notes on the build process? I was stumped about >>> how to build from the bitbucket source until I saw this email. The >>> build-support directory looks like it is meant to be useful but is not >>> complete yet, is that correct? >> Build support is out of date, I intend to remove it in the near future. > > What exactly does that mean? How do you get a working pyobjc without building it? There is a directory named "build-support" in the repository that contains scripts I use on my machine to install. Those scripts are outdated and will be removed. PyObjC can still be build using distutils ("python setup.py install"), and that should get easier once I push out a new release because setuptools can then automaticly download all supprojects when you easy_install the umbrella project. The state of package managed tools for Python is not very good at the moment, and the state of the art seems to move forward pretty slowly. Even pip is very limited: it will only perform source-based installs (which means I cannot provide pre-compiled binaries for pip users), and last time I checked it didn't have a command for listing installed packages. > > >> The next release should be near, the main todo item for me is to check tot easy_install can install pyobjc from a collection of source archives. > > Does this mean I will be able to install from a local copy of the source code, rather than downloading it from pypi every time I want to install it? That would be really helpful for my configuration control. Yes, and you can do that currently. The hard part is installing the subprojects in the right order, but for most users installing pyobjc-core and pyobjc-framework-Cocoa in that order should be good enough to get started, the other framework wrappers contain bindings for more of Apple's frameworks and can be installed as needed. I might end up writing an install script after all, IIRC the turbogears project also has such a script. Ronald > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |