how to distribute python extensions independently of python
M.-A. Lemburg
mal at egenix.com
Mon Feb 16 13:05:37 EST 2009
On 2009-02-12 18:38, Travis wrote:
> So,
>
> Recently I made a fix to the zlib module that I need for use at work.
>
> I would like other employees to be able to use it without recompiling python.
>
> I assume I can just rename it and distribute it as a python extension.
>
> I was wondering how I can provide a way for other employees to build it.
>
> I saw a "Universal Unix Makefile for Python extensions" that looks promising.
>
> Is this the accepted way to compile python extensions still?
Not really. That approach was abandoned years ago in favor of a
distutils approach:
http://docs.python.org/distutils/index.html
in particular:
http://docs.python.org/distutils/setupscript.html#describing-extension-modules
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Feb 16 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Python-list
mailing list