>   Interesting.  I see that, too, in "extras".  The package does not
> appear to exist in CentOS (RHEL), nor the rpmforge repository for
> same.  Fortunately, this doesn't matter: BeautifulSoup is apparently a
> trivial install, and David's using Ruby anyway.  :-)

For the record, there are two easy install methods on an RPM-based
distro that doesn't have it in a repository. First get the tarball
'version' of BeautifulSoup:
http://www.crummy.com/software/BeautifulSoup/download/BeautifulSoup.tar.gz

Untar it, cd into the directory. You can now use the generic python
setuptools method of install (similar to Perl's 'perl Makefile.PL ;
make ; make install'):
python setup.py install

There's an even "cooler" way. (This will not work with some more
complicated python module unless the author has specifically provided
a manifest file for this purpose...but it works with BS)
python setup.py bdist_rpm

You will then have a "dist" directory with the tarball, an rpm, and an
srpm:[EMAIL PROTECTED] BeautifulSoup-3.0.4]$ ls -l dist/
total 124
-rw-rw-r--  1 shawn shawn 60213 Nov  9 13:40 BeautifulSoup-3.0.4-1.noarch.rpm
-rw-rw-r--  1 shawn shawn 28680 Nov  9 13:40 BeautifulSoup-3.0.4-1.src.rpm
-rw-rw-r--  1 shawn shawn 26131 Nov  9 13:40 BeautifulSoup-3.0.4.tar.gz

Install RPM and enjoy BeautifulSoup

-Shawn
_______________________________________________
gnhlug-org mailing list
gnhlug-org@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-org/

Reply via email to