473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

identifying modules to be built and not


The thread John Nagle started about building Python 2.5 on Fedora Core 6 led
me to implement a slight change to Python's setup.py. You clearly can't
have the build stop if the bits needed to build a particular module aren't
found or if compiling a module fails, but it's fairly straightforward to
note which modules could be built and which can't be. There's a patch for
setup.py on SourceForge you can try if you want:

http://python.org/sf/1673619

When setup.py is run it emits output like this after checking for modules it
knows how to build (this is from my Mac):

Located the necessary bits to build these modules:
_AE _AH _App
_bisect _bsddb _CarbonEvt
_CF _CG _Cm
_codecs_cn _codecs_hk _codecs_iso2022
_codecs_jp _codecs_kr _codecs_tw
_collections _csv _Ctl
_ctypes _ctypes_test _curses
_curses_panel _Dlg _Drag
_elementtree _Evt _File
_Fm _Folder _functools
_hashlib _heapq _Help
_hotshot _IBCarbon _Icn
_Launch _List _locale
_lsprof _Menu _Mlte
_multibytecodec _OSA _Qd
_Qdoffs _Qt _random
_Res _Scrap _Snd
_socket _sqlite3 _ssl
_struct _TE _testcapi
_tkinter _weakref _Win
array audioop autoGIL
binascii bsddb185 bz2
cmath ColorPicker cPickle
crypt cStringIO datetime
dbm dl fcntl
gestalt grp icglue
imageop itertools MacOS
math mmap Nav
nis operator OSATerminology
parser pwd pyexpat
readline resource rgbimg
select strop syslog
termios time unicodedata

Failed to find the necessary bits to build these modules:
_elementtree _md5 _sha
_sha256 _sha512 gdbm
linuxaudiodev ossaudiodev spwd

Feel free to add comments to the above patch page. It will help the
development team decide whether or not it's a worthwhile addition.

Skip
Mar 4 '07 #1
0 1122

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: martin z | last post by:
I'm having a lot of trouble figuring out the details of controlling Python compiling. I can compile and embed just fine, but I want some finer granularity on what gets compiled into Python. I can...
11
by: Christos TZOTZIOY Georgiou | last post by:
I got my hands on a Itanium2 machine, and gcc builds 64-bit executables by default. (sys.maxint = 9223372036854775807). _tkinter, audioop and imageop didn't compile at first, and I believe it's a...
4
by: Andreou Giannis | last post by:
Allthough it is possible to build modules in Python2.3.3 and distutils with cygwin, by running: setup.py build --compiler=cygwin (after i created the libpython23.a) running: setup.py install...
0
by: Bruce D. Ray | last post by:
The python README states: On SGI IRIX, there are modules that interface to many SGI specific system libraries, e.g. the GL library and the audio hardware. These modules will not be built by...
3
by: Rickard Lind | last post by:
Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm trying to run python scripts on a stripped down FreeBSD (4.9) machine...
51
by: Reinhold Birkenfeld | last post by:
Hello, at the moment python-dev is discussing including Jason Orendorff's path module into the standard library. Do you have any other good and valued Python modules that you would think are...
0
by: venkatbo | last post by:
Hi folks, On i686 Linux, I would like to place my python modules as: <base_dir>/src/py-modules/*.py and use the cmd from <base_dire>: ...base_dir]$ python src/py-modules/setup.py install...
1
by: Mark Asbach | last post by:
Hi pythonians, I'm one of the maintainers of an open source image processing toolkit (OpenCV) and responsible for parts of the autotools setup. The package mainly consists of four shared...
4
by: Tom Jones | last post by:
I have an application that was originally built using Visual Studio 2003 that I upgraded to Visual Studio 2005. When I attempt to build the *.msi file in the deployment project, I am getting a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.