[egenix-users] Web Installers for mx Base and mxODBC on PyPI

M.-A. Lemburg mal at egenix.com
Fri Aug 15 12:12:32 CEST 2014


Dear Users,

with the recent releases of egenix-mx-base and egenix-mxodbc we
have uploaded a web installer to PyPI instead of just having
PyPI reference our download server and letting the Python installers
scrape the URLs for links.

The new web installer will determine the system it is running on
and automatically download the right package from our servers.
This has been tested by us on all officially supported platforms
(Linux, Windows, Mac OS X and FreeBSD) with easy_install, pip and
zc.buildout:

Here's a typical output from easy_install where you can see the web
installer working:

> bin/easy_install egenix-mxodbc
Searching for egenix-mxodbc
Reading https://pypi.python.org/simple/egenix-mxodbc/
Best match: egenix-mxodbc 3.3.1
Downloading
https://pypi.python.org/packages/source/e/egenix-mxodbc/egenix-mxodbc-3.3.1.zip#md5=901db7fd0cbdea23bca02c7c9158e7d5
Processing egenix-mxodbc-3.3.1.zip
Writing /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/setup.cfg
Running egenix-mxodbc-3.3.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egg-dist-tmp-XFrgsH
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are installed.
web installer running
trying to find suitable download package
found package URL
https://downloads.egenix.com/python/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip#md5=07932b79990adedaba2056ac7944e225&sha1=044a885335a42255c5917be38ca69dda468cab8e&sha256=231ed0b3970f414bd867f6bea220d3f2d9f957a81c83516b0661b84fb04f3e25&size=2654364
downloading web package
https://downloads.egenix.com/python/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip
verifying web package
/tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip
extracting web package
/tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip into
/tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1
Adding egenix-mxodbc 3.3.1 to easy-install.pth file

Installed
/home/lemburg/tmp/test-easy-install-mx-base-3.2.8/lib/python2.7/site-packages/egenix_mxodbc-3.3.1-py2.7-linux-x86_64.egg
Processing dependencies for egenix-mxodbc
Searching for egenix-mx-base
Reading https://pypi.python.org/simple/egenix_mx_base/
Best match: egenix-mx-base 3.2.8
Downloading
https://pypi.python.org/packages/source/e/egenix-mx-base/egenix-mx-base-3.2.8.zip#md5=6bb912968a048426a66b9053cced3e0a
Processing egenix-mx-base-3.2.8.zip
Writing /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/setup.cfg
Running egenix-mx-base-3.2.8/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egg-dist-tmp-GV2xZ3
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are installed.
web installer running
trying to find suitable download package
found package URL
https://downloads.egenix.com/python/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip#md5=6ddb93faa99e4a05197761716ff8e1b4&sha1=f09c67f7bf2f9985f0e5710e7945ad705b9f3b02&sha256=af74691573c32318e91ca277e9290ccd8f570198d456be0c6dad076400ec6656&size=4733120
downloading web package
https://downloads.egenix.com/python/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip
verifying web package
/tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip
extracting web package
/tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip
into /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8
Adding egenix-mx-base 3.2.8 to easy-install.pth file

Installed
/home/lemburg/tmp/test-easy-install-mx-base-3.2.8/lib/python2.7/site-packages/egenix_mx_base-3.2.8-py2.7-linux-x86_64.egg
Finished processing dependencies for egenix-mxodbc

With the web installer, the installation experience should be a much better
one. You can of course also simply download the right packages from our
website product pages directly. The web installer just takes care of
choosing and downloading the right package for you. It also makes sure
that you are getting authentic packages by verifying the downloads
against check sums.

Since the technology is still very new, please let us know if you
run into problems.

PS: The web installer code is included in mxSetup.py which is part
of our open source egenix-mx-base package. If this turns out to be
a success, we will likely publish this as documented eGenix open
source product, so that you can use it in your packages as well.

Many thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source
>>> 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 egenix-users mailing list