Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > building/installing python libs/modules...

Reply
Thread Tools

building/installing python libs/modules...

 
 
bruce
Guest
Posts: n/a
 
      07-01-2006
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


 
Reply With Quote
 
 
 
 
John Machin
Guest
Posts: n/a
 
      07-01-2006
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)

 
Reply With Quote
 
 
 
 
Ravi Teja
Guest
Posts: n/a
 
      07-01-2006
> 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

 
Reply With Quote
 
Ravi Teja
Guest
Posts: n/a
 
      07-01-2006
> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 R. David Murray Python 0 01-17-2011 02:23 PM
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 Senthil Kumaran Python 0 01-17-2011 10:31 AM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Martin v. L÷wis Python 0 03-01-2008 10:51 PM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Paul Moore Python 0 03-01-2008 10:39 PM
Searching comp.lang.python/python-list@python.org (was: UTF-8) skip@pobox.com Python 0 03-10-2007 02:50 PM



Advertisments