473,386 Members | 1,810 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.

building/installing python libs/modules...

paul,

thanks for the replies to my issues!!! much appreciation.

i've got the python app:
http://www.boddie.org.uk/python/down...m-0.3.3.tar.gz

and i've downloaded it, an untarred it...
i have the dir structure, but i don't know what needs to be done now!!! i
have a setup.py. does it get run?

the Readme file didn't tell me how to build the app....

i now, but everyone starts at something, sometime!!

thanks

-bruce
Jul 1 '06 #1
3 1427
On 2/07/2006 5:37 AM, bruce wrote:
paul,

thanks for the replies to my issues!!! much appreciation.

i've got the python app:
http://www.boddie.org.uk/python/down...m-0.3.3.tar.gz

and i've downloaded it, an untarred it...
i have the dir structure, but i don't know what needs to be done now!!! i
have a setup.py. does it get run?

the Readme file didn't tell me how to build the app....


http://www.boddie.org.uk/python/libxml2dom.html

(see section headed "Installation" at the bottom of the page)

Jul 1 '06 #2
> i've got the python app:
http://www.boddie.org.uk/python/down...m-0.3.3.tar.gz

and i've downloaded it, an untarred it...
i have the dir structure, but i don't know what needs to be done now!!! i
have a setup.py. does it get run?

the Readme file didn't tell me how to build the app....


The setup.py is a distutils installer. The usual drill in that case is
to simply type "python setup.py install". If the module is registered
in PyPi (which this one is), you can just type "easy_install
libxml2dom" (after easy_install is setup) and you will not even need to
download and extract.

In this case, your module is a native wrapper. So you will need the
libraries that it provides a wrapper for, installed. In this case
(libxml2, libxml2dom). You will also need a C compiler.

All this can be trivial on a unix based platform. However, if you are
new and on Windows, this can be a hassle since you will have to
manually setup your C compiler and the dependencies. Try to find a
binary installer for native Python modules in MS Windows whenever you
can.

Here is a click and go installer built for Windows that I found from
Google.
http://users.skynet.be/sbi/libxml-py...in32-py2.4.exe

Jul 1 '06 #3
> Here is a click and go installer built for Windows that I found from
Google.
http://users.skynet.be/sbi/libxml-py...in32-py2.4.exe


Oops! That is for libxml2, not libxml2dom.

Jul 1 '06 #4

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

Similar topics

0
by: Dan Finn | last post by:
usinng php-4.3.4 using this for my configure script; ../configure --with-pear=/usr/local/lib/pear --with-mysql --with-apxs=/usr/sb in/apxs --enable-track-vars --with-mysql-sock=/tmp/mysql.sock...
2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
2
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py...
1
by: Richard Patterson | last post by:
I'm trying to compile python 2.4.1, on HPUX10.20, with support for tk and tcl 8.4 (installed in /opt/tk and /opt/tcl). I assume this means I need to compile the tkinter module too.. I was...
3
by: skip | last post by:
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient...
1
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed....
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
2
by: mr_gees100_peas | last post by:
Hi, I've been trying for days to make either boost.python or swig to work for me. The one I have gotten the closest to is boost. Note that this is for windows XP. I'm not much of an unix person...
15
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.