Creating slim PyGI installer for Windows: Difference between revisions
Jump to navigation
Jump to search
Created page with "This page shows how to reduce size of PyGI/PyGObject for Windows. # Download PyGObject 3.14.0_rev18 for Windows from SF (https://sourceforge.net/projects/pygobjectwin32/files/..." |
No edit summary |
||
| Line 15: | Line 15: | ||
# Run <tt>rebuild.bat</tt> | # Run <tt>rebuild.bat</tt> | ||
Note this produces PyGI installer for 32bit and 64bit Python 2.7. If you want to create installer for different versions or different packages you need to delete other directories. More information in <tt>readme.txt</tt> | Note this produces PyGI installer for 32bit and 64bit Python 2.7. If you want to create installer for different versions or different packages you need to delete other directories. More information in <tt>readme.txt</tt> | ||
[[Category:Development]] | |||
[[Category:Miscellany]] | |||
Latest revision as of 10:40, 15 June 2015
This page shows how to reduce size of PyGI/PyGObject for Windows.
- Download PyGObject 3.14.0_rev18 for Windows from SF (https://sourceforge.net/projects/pygobjectwin32/files/)
- Download and install 7zip
- Unpack installer using 7zip
- Run unpack.bat
- Delete following directories:
- devel
- docs
- rtvc10-32
- rtvc10-64
- all directories in binding except py2.7-32 and py2.7-64
- all directories in noarch, rtvc9-32 and rtvc9-64 except ATK, Base, GDK, GDKPixbuf, GTK, GTKSourceView, JPEG, Pango, WebP (this allows to install GTK, GTKSourceView with their dependencies)
- Remove following lines from setup/setup.bat: 100 and 78 - 89
- Run repack.bat
- Run rebuild.bat
Note this produces PyGI installer for 32bit and 64bit Python 2.7. If you want to create installer for different versions or different packages you need to delete other directories. More information in readme.txt