[Distutils] Compile Windows64 AMD64

Phillip J. Eby pje at telecommunity.com
Sun May 20 16:53:27 CEST 2007

At 08:03 AM 5/20/2007 -0400, Alexander Michael wrote:
>Unfortunately, ctypes is not available as an egg, so you won't be 
>able to take advantage of setuptool's easy_install to ensure that 
>your user has installed all the dependencies.

easy_install converts distutils .exe files to eggs just fine, and it 
compiles the source on other platforms.


$ python2.4 -m easy_install -U ctypes
Searching for ctypes
Reading http://cheeseshop.python.org/pypi/ctypes/
Reading http://starship.python.net/crew/theller/ctypes/
Reading http://sourceforge.net/project/showfiles.php?group_id=71702
Reading http://cheeseshop.python.org/pypi/ctypes/1.0.2
Best match: ctypes 1.0.2
Processing ctypes-1.0.2.win32-py2.4.exe
creating c:\...\lib\site-packages\ctypes-1.0.2-py2.4-win32.egg
Extracting ctypes-1.0.2-py2.4-win32.egg to c:\...\lib\site-packages
Removing ctypes 0.9.6 from easy-install.pth file
Adding ctypes 1.0.2 to easy-install.pth file

Installed c:\...\lib\site-packages\ctypes-1.0.2-py2.4-win32.egg
Processing dependencies for ctypes
Finished processing dependencies for ctypes


[root at sparrow ~]# easy_install-2.3 ctypes
Processing ctypes
Running setup.py -q bdist_egg --dist-dir /root/ctypes/egg-dist-tmp-OrObNN
warning: no files found matching 'NEWS.txt'
warning: no files found matching 'ctypes/.CTYPES_DEVEL'
Configuring static FFI library:
cd build/temp.linux-i686-2.3/libffi && env CFLAGS='' 
checking build system type... i686-pc-linux-gnu
zip_safe flag not set; analyzing archive contents...
Adding ctypes 1.0.1 to easy-install.pth file

Installed /usr/lib/python2.3/site-packages/ctypes-1.0.1-py2.3-linux-i686.egg
Processing dependencies for ctypes==1.0.1 

More information about the Distutils-SIG mailing list