[Distutils] Re: Mixing pure python and extension module and multi platform
Berthold Höllmann
hoel@gl-group.com
Wed Mar 19 08:36:38 2003
"M.-A. Lemburg" <mal@lemburg.com> writes:
> Berthold Höllmann wrote:
> > "M.-A. Lemburg" <mal@lemburg.com> writes:
> >
> >>Berthold Höllmann wrote:
> >>
> >>>"M.-A. Lemburg" <mal@lemburg.com> writes:
> >>>
...
> No, because 'pork.pork' is not allowed in py_modules (it's a hack
> that sometimes works, but not intended as feature AFAIK).
But even this changes do not cure the problem:
>cat setup.py ; python setup.py -n install
from distutils.core import setup,Extension
setup (name = "pork.spam",
version = "0.0.0",
description = "just a test",
author = 'Berthold Höllmann',
author_email = "hoel@GL-Group.com",
ext_modules = [Extension('spam', ['spam.c'])],
packages = ['pork']
)
Adding parser accelerators ...
Done.
running install
running build
running build_py
not copying pork/pork.py (output up-to-date)
not copying pork/__init__.py (output up-to-date)
running build_ext
skipping 'spam' extension (up-to-date)
running install_lib
copying build/lib.linux-i686-2.2/spam.so -> /usr/local/fitools/sandbox/linux/lib/python2.2/site-packages
copying build/lib.linux-i686-2.2/pork/pork.py -> /usr/local/fitools/sandbox/linux/lib/python2.2/site-packages/pork
copying build/lib.linux-i686-2.2/pork/__init__.py -> /usr/local/fitools/sandbox/linux/lib/python2.2/site-packages/pork
the pure python package still gets installed alongside the only loosly
extension module.
Regards
Berthold
--
Dipl.-Ing. Berthold Höllmann __ Address:
hoel@GL-Group.com G / \ L Germanischer Lloyd
phone: +49-40-36149-7374 -+----+- Vorsetzen 32/35 P.O.Box 111606
fax : +49-40-36149-7320 \__/ D-20459 Hamburg D-20416 Hamburg
****************************************************
Beachten Sie: Wir moechten Sie informieren, dass die E-Mail-Adresse des Germanischen Lloyd sowie unsere Web-Adresse mit Wirkung vom 1. Maerz 2003 auf den Namen gl-group.com umgestellt wurde.
Dies bedeutet, dass die bisherige Adresse Kurzzeichen@germanlloyd.org durch die neue Adresse Kurzzeichen@gl-group.com ersetzt wird. Die Homepage des GL ist kuenftig ueber die Adresse 'http://www.gl-group.com' aufrufbar. Die bisher verwendeten Adressen bleiben für eine Uebergangsfrist erreichbar.
****************************************************
Please notice: We would like to inform you that the e-mail address of Germanischer Lloyd as well as our internet address had been changed to gl-group.com with effect from 1st March 2003.
This means that the previous address shortmark@germanlloyd.org will be replaced by shortmark@gl-group.com. From now on the GL homepage can be accessed at the address 'http://www.gl-group.com'. The old addresses remain valid for a transitional period.
****************************************************
This e-mail contains confidential information for the exclusive attention of the intended addressee. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail.
GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc.