Re: Building gobject-introspection with CPython 3.2?
- From: John Ralls <jralls ceridwen us>
- To: Dan Stromberg <dstromberglists gmail com>
- Cc: python-hackers-list <python-hackers-list gnome org>
- Subject: Re: Building gobject-introspection with CPython 3.2?
- Date: Sat, 28 Jun 2014 09:12:32 +0100
On Jun 27, 2014, at 3:41 AM, Dan Stromberg <dstromberglists gmail com> wrote:
On 6/24/14, Dan Stromberg <dstromberglists gmail com> wrote:
On Tue, Jun 24, 2014 at 4:18 PM, Colin Walters <walters verbum org> wrote:
On Tue, Jun 24, 2014, at 04:09 PM, Dan Stromberg wrote:
I have a single gi.Gtk GUI that runs, unchanged, on CPython 2.7 and
CPython 3.3.
The g-i tools presently require Python 2 at *build time*, but pygobject
at runtime can work in either 2 or 3.
Well that explains a lot.
Is there perhaps a FAQ somewhere detailing how to build G-I for use with
CPython3 using CPython2 to get there?
Right now, I'm compiling CPython 3.3 into
/usr/local/cpython-3.3/bin/python3, along with GTK+ and a bunch of other
stuff. Is there some environment variable or something I can (temporarily)
point at CPython 2.7 while doing this, without actually ending up with a
CPython 2.7 living in /usr/local/cpython-3.3?
Thanks!
Anyone?
That's a pretty basic question for this list. You'll find the answer in the Python Docs:
https://docs.python.org/2/using/cmdline.html#environment-variables
https://docs.python.org/3/using/cmdline.html#environment-variables
Regards,
John Ralls
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]