[Urwid] Patch to use setuptools
Victor Stinner
victor.stinner-linux at haypocalc.com
Mon Aug 21 09:28:36 EDT 2006
Hi,
Here is a _small_ patch to be able to use setuptools. It's an extension to
distutils which allows great things like building a Python module into a ZIP
archive called an egg.
With my patch, you can use: "./setup.py bdist_egg" and then upload the egg to
the CheeseShop.
It would be great since the project Hachoir is using urwid and also use egg
system :-) With setuptools, it's possible to install a program into $HOME:
modules will be stored as ZIP archives (one egg by Python module), that
rocks ;-)
--
Another patch: store urwid version in uwird/__init__.py. This may help
setuptools... but i'm not sure of that :-) But it's also better to set
__version__ variable.
Haypo
http://hachoir.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urwid095_setuptools.patch
Type: text/x-diff
Size: 318 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20060821/636ec18f/urwid095_setuptools.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urwid095_init_version.patch
Type: text/x-diff
Size: 491 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20060821/636ec18f/urwid095_init_version.bin
More information about the Urwid
mailing list