• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

docs/H03-May-2022-224,501193,373

examples/H03-May-2022-10,5758,336

gtk/H03-May-2022-83,22972,458

m4/H01-Apr-2011-8986

tests/H03-May-2022-1,9591,507

AUTHORSH A D01-Apr-2011707 2117

COPYINGH A D01-Apr-201125.8 KiB505418

ChangeLogH A D01-Apr-201194 KiB2,9522,081

ChangeLog.pre-2-0H A D01-Apr-2011221.7 KiB6,5224,498

ChangeLog.pre-2-16H A D01-Apr-2011108.2 KiB3,5472,374

ChangeLog.pre-2-6H A D01-Apr-2011115.5 KiB3,4752,410

INSTALLH A D01-Apr-201115.2 KiB366284

MANIFEST.inH A D01-Apr-2011388 1110

MAPPINGH A D01-Apr-20117.2 KiB171141

Makefile.amH A D03-May-20224.6 KiB181144

Makefile.inH A D03-May-202245.7 KiB1,2201,082

NEWSH A D01-Apr-201162.8 KiB1,3081,193

PKG-INFOH A D01-Apr-20111.1 KiB2625

PKG-INFO.inH A D01-Apr-20111.1 KiB2625

READMEH A D01-Apr-20113.7 KiB13097

README.win32H A D01-Apr-2011783 2418

THREADSH A D01-Apr-20115.3 KiB120104

TODOH A D01-Apr-2011512 139

aclocal.m4H A D01-Apr-2011334.4 KiB9,6108,624

atk-types.defsH A D01-Apr-201110.8 KiB410374

atk.defsH A D01-Apr-201158 KiB3,1632,688

atk.overrideH A D01-Apr-201121.8 KiB691623

atkmodule.cH A D01-Apr-20111.5 KiB4919

atkrectangle.overrideH A D01-Apr-20117.3 KiB266241

config.guessH A D01-Apr-201143.9 KiB1,5031,292

config.h.inH A D01-Apr-20112.6 KiB11778

config.h.win32H A D01-Apr-2011122 74

config.subH A D01-Apr-201133.8 KiB1,7151,566

configureH A D03-May-2022505 KiB17,34413,645

configure.acH A D01-Apr-201114.9 KiB528446

depcompH A D01-Apr-201118.2 KiB631407

install-shH A D01-Apr-201113.3 KiB521344

ltmain.shH A D01-Apr-2011237.8 KiB8,4146,482

missingH A D01-Apr-201111.2 KiB377281

pango-types.defsH A D01-Apr-201112.2 KiB488441

pango.defsH A D03-May-202266.2 KiB3,3302,861

pango.overrideH A D01-Apr-201159.1 KiB2,0681,842

pangocairo.defsH A D01-Apr-20113.8 KiB188165

pangocairo.overrideH A D03-May-202211.3 KiB321283

pangocairomodule.cH A D03-May-20222.1 KiB7132

pangomodule.cH A D01-Apr-20113.1 KiB10159

py-compileH A D01-Apr-20114.1 KiB14795

pygtk.specH A D01-Apr-20113.9 KiB124102

pygtk_postinstall.pyH A D01-Apr-2011156 104

pylgtk-2.0.pc.inH A D03-May-2022818 2621

pylgtk-codegen-2.0.inH A D01-Apr-2011324 116

pylgtk.spec.inH A D03-May-20224 KiB124103

setup.pyH A D01-Apr-201114.1 KiB388307

README

1PyGTK
2=====
3Original authors: James Henstridge <james@daa.com.au>
4                  Johan Dahlin <johan@gnome.org>
5
6Past maintainers: Gustavo J A M Carneiro <gjc@gnome.org>
7                  Paul Pogonyshev <pogonyshev@gmx.net>
8                  Gian Mario Tagliaretti <gianmt@gnome.org>
9
10Maintainers:      John Stowers <john.stowers@gmail.com>
11                  Dieter Verfaillie <dieterv@optionexplicit.be>
12
13This archive contains modules that allow you to use GTK+-2 in Python
14programs.  At present, it is a complete set of bindings up to and including
15the gtk+-2.24 API.
16
17If you have any enhancements or bug reports, please file them in
18bugzilla at:
19  http://bugzilla.gnome.org/enter_bug.cgi?product=pygtk
20
21If you have a patch, file the bug first and then use the "create new
22attachment" link on the bug's info page.  My preferred format for
23patches is unified diff format (ie. diff -u).  Please don't send me
24diffs which don't have any context, as these make it very difficult to
25see what the patch does.
26
27New Versions
28============
29
30New versions of this package can be found at:
31  http://ftp.gnome.org/pub/GNOME/sources/pygtk/
32
33
34Mailing list
35============
36
37There is a mailing list for pygtk.  You can subscribe to it through
38the web interface:
39  http://www.daa.com.au/mailman/listinfo/pygtk
40
41
42Requirements
43============
44  * C compiler (GCC, MSVC and mingw supported)
45  * Python 2.3.5 or higher
46  * PyGObject 2.21.3 or higher
47  * Pycairo 1.0.2 or higher
48  * Glib 2.8.0 or higher
49  * GTK+ 2.8.0 or higher (optional) or
50    GTK+ 2.10.0 or higher for 2.10 API
51    GTK+ 2.12.0 or higher for 2.12 API
52    GTK+ 2.14.0 or higher for 2.14 API
53    GTK+ 2.16.0 or higher for 2.16 API
54    GTK+ 2.18.0 or higher for 2.18 API
55    GTK+ 2.20.0 or higher for 2.20 API
56    GTK+ 2.22.0 or higher for 2.22 API
57    GTK+ 2.24.0 or higher for 2.24 API
58  * libglade 2.5.0 or higher (optional)
59  * pycairo 1.0.2 or higher (optional)
60  * numpy (optional)
61
62This release is supporting the following GTK+ releases:
63
64  2.8.x
65  2.10.x
66  2.12.x
67  2.14.x
68  2.16.x
69  2.18.x
70  2.20.x
71  2.22.x
72  2.24.x
73
74To include support for the 2.10 API you'll need GTK+ 2.10.0 etc.
75
76Copyright Information
77=====================
78
79This software is covered by the GNU Lesser General Public Licence
80(version 2.1, or if you choose, a later version).  Basically just don't
81say you wrote bits you didn't.
82
83Compilation
84===========
85
86PyGTK uses the standard autotools for the build infrastructure.  To
87build, it should be as simple as running:
88
89    $ ./configure --prefix=<prefix where python is installed>
90    $ make
91    $ make install
92
93To build the reference documentation, supply the argument
94"--enable-docs" to configure.
95
96If your Python interpreter isn't in the path, or is not called
97"python", you can set the PYTHON environment variable to the full path
98of the interpreter:
99
100    $ PYTHON=/prefix/bin/python
101    $ export PYTHON
102
103If configure can't find GTK+, you may need to set the PKG_CONFIG_PATH
104environment variable to help it find the libraries.
105
106The "make install" target will generate normal and optimised bytecode
107for all the .py files.
108
109Note. If you're installing to another prefix than the one where python
110is installed you'll need to set the PYTHONPATH variable to the
111$prefix/lib/pythonX.Y/site-packages directory created by
112the PyGTK installation.
113
114Tests
115=====
116
117After having compiled and installed pygtk, you may want to test them.
118There are a number of example programs available in the examples/
119subdirectory.
120
121
122Getting Help
123============
124
125If you have questions about programming with PyGTK, you might want to
126send a message to the mailing list (information on subscribing is
127above).  Alternatively, your question may be answered in the FAQ:
128
129    http://www.async.com.br/faq/pygtk/?req=index
130

README.win32

1Windows Setuptools Build Instructions
2======================================
3
4  1. Install gtk+ bundle from gtk.org (to C:\GTK for example)
5  2. Install Python2.6
6  3. Install pycairo and pygobject
7  4. Install MinGW and MSYS
8  5. Add the following to your msys environment variables
9     (open and append to C:\msys\1.0\etc\profile) or set for the session
10
11     $ export PATH=/c/GTK/bin:/c/Python26:/c/Python26/Scripts:$PATH
12     $ export PKG_CONFIG_PATH=/c/GTK/lib/pkgconfig:/c/Python26/Lib/pkgconfig:$PKG_CONFIG_PATH
13
14  6. In msys shell, build with
15
16     $ python setup.py build --compiler=mingw32 --enable-threading bdist_wininst
17
18Tested with
19  * gtk+-bundle_2.20.0-20100406_win32.zip
20  * MinGW-5.16.exe
21  * MSYS-1.0.11.exe
22  * python-2.6.5.exe
23  * pycairo-1.8.6.win32-py2.6.exe
24