From: Torsten K. <pyt...@tk...> - 2007-06-29 12:28:38
|
Hi there, I'm currently involved in a project, using Zope3, there we would need a proper python-ldap.egg from the Python Cheeseshop. I realized that someone checked in some specs there (http://www.python.org/pypi/python-ldap/2.0.11), but there's no .egg file attached to this record - therefore my project fails to build. So my question is twofold: a) Who maintains the PyPI entries of python-ldap? Is it actively maintained in general? b) If not, how can I help to get it done? Best regards, Torsten |
From: <mi...@st...> - 2007-06-29 13:34:27
|
Torsten Kurbad wrote: > > I'm currently involved in a project, using Zope3, there we would need a > proper python-ldap.egg from the Python Cheeseshop. I realized that > someone checked in some specs there > (http://www.python.org/pypi/python-ldap/2.0.11), but there's no .egg > file attached to this record - therefore my project fails to build. > > So my question is twofold: > a) Who maintains the PyPI entries of python-ldap? Is it actively > maintained in general? > b) If not, how can I help to get it done? Since I never looked into .egg files I'd appreciate if you could provide one and I do the rest of putting it on PyPI. Ciao, Michael. |
From: Timur I. <Tim...@oi...> - 2007-07-05 12:37:44
|
Michael Ströder wrote: > Torsten Kurbad wrote: >> I'm currently involved in a project, using Zope3, there we would need a >> proper python-ldap.egg from the Python Cheeseshop. I realized that >> someone checked in some specs there >> (http://www.python.org/pypi/python-ldap/2.0.11), but there's no .egg >> file attached to this record - therefore my project fails to build. >> >> So my question is twofold: >> a) Who maintains the PyPI entries of python-ldap? Is it actively >> maintained in general? >> b) If not, how can I help to get it done? > > Since I never looked into .egg files I'd appreciate if you could provide > one and I do the rest of putting it on PyPI. Hi guys, Any progress with python-ldap.egg? If nobody's working on this I'll have to make it myself because I need it too. Cheers, -- Timur Izhbulatov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:Tim...@oi... Building Successful Supply Chains - One Solution At A Time. www.oilspace.com |
From: Timur I. <Tim...@oi...> - 2007-07-05 13:10:33
|
Torsten Kurbad wrote: > Timur Izhbulatov wrote: >> Hi guys, >> >> Any progress with python-ldap.egg? If nobody's working on this I'll >> have to make it myself because I need it too. >> >> Cheers, > Hi Timur, > > yes, me and my colleagues will prepare sth. during the next couple of > days. My boss already has some experience with eggs, so he will provide > some counseling... ;o) Sounds good. Good luck! :) Cheers, -- Timur Izhbulatov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:Tim...@oi... Building Successful Supply Chains - One Solution At A Time. www.oilspace.com |
From: Torsten K. <pyt...@tk...> - 2007-07-13 13:36:25
Attachments:
python-ldap-2.3-setuptools.diff
|
Hi folks, I just created a first .egg of python-ldap. Using a standard Linux distribution, like Gentoo, this can easily be replayed: 0. Make sure that you have a recent version of openldap, openssl and cyrus-sasl libraries and headers installed. 1. If not already done so, follow the instructions at http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install 2. Download and unpack the latest python-ldap tarball (2.3) 3. cd into python-ldap-2.3 and apply the attached (and hopefully unmangled) patch as follows patch -p1 <path/to/python-ldap-2.3-setuptools.diff 4. Run python setup.py bdist_egg 5. If everything went well, you'll have a python-ldap-egg in the newly created subfolder dist, e.g. python_ldap-2.3-py2.4-linux-i686.egg If things don't work or you are too lazy to try these steps, you may test my precompiled egg at http://svn.kmrc.de/download/distribution/python_ldap-2.3-py2.4-linux-i686.egg It is linked against - openssl 0.9.8e - cyrus-sasl-2.1.22 - openldap-2.3.35 - glibc-2.5 Any feedback is highly appriciated! Best regards, Torsten -- Fon: +49-7071-700240 | Fax: +49-7071-700241 | http://www.tk-webart.de Ich schreibe dir einen langen Brief, weil ich keine Zeit habe, einen kurzen zu schreiben. -- Johann Wolfgang von Goethe -- |
From: <mi...@st...> - 2007-07-14 20:13:20
|
Torsten Kurbad wrote: > > I just created a first .egg of python-ldap. Thanks for contributing this. > Using a standard Linux distribution, like Gentoo, Hmm, all modifications to setup.py should work on Windows either. > 1. If not already done so, follow the instructions at > http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install Is it a MUST? > -from distutils.core import setup, Extension > +from setuptools import setup, Extension, find_packages Hmm, this replaces distutils completely. Isn't there any pattern for a fall-back to distutils if setuptools is not available? > +if float(sys.version[:3]) < 2.3: > + packages = find_packages('ldap', 'ldap.schema') > [..] > #-- Python packages (doesn't work with Python prior 2.3) > -# packages = ['ldap', 'ldap.schema'], > + packages = packages, And how to build that with Python 2.2 and earlier? > + platforms = ['posix'] Shouldn't that be derived from sys.platform during build? Or at least to be defined in setup.cfg. That's what it's for. For now I consider your patch to solve the .egg thingy for you. I won't patch the general setup.py in standard source distribution. I might add your version of setup.py as setup_egg.py under Build/ in the source distribution. Ciao, Michael. |