[Pythonmac-SIG] packages
Yair Benita
Y.Benita@pharm.uu.nl
Wed, 18 Jul 2001 09:21:55 +0200
on 18/7/2001 4:02, kevin parks at kp87@lycos.com wrote:
> how do you install packages on Mac OS 9.x?
>
> I am looking to install the following package
> called pmask
>
> http://pythonsound.sourceforge.net/pmask/
>
> it has a setup.py, which if i run i get a funny dialog box asking for
> commands. I hit just took a guess and said install and the thing ran a while
> and then a traceback error. Anyone ever run pmask on this list? Is the package
> broken? or is my brain broken?
>
>
> cheers,
> -kp--
>
> ps. How do you uninstall a package that you don't want.
>
> I am hating packages already. Why can't it just be a module like pretty much
> everything else? Who needs that much structure? Ugh! (i am sure all you
> package lovers will set me straight and tell me how useful they are). I just
> want this one to work!
>
>
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
Dear Kevin,
The nice thing about these packages are that they are platform independent.
They were probably not designed for the Mac but with some effort we can use
them.
In the "funny" window you should select build. Then a folder "build" will
appear in the same location as the setup.py file and all the files will be
generated there. Try to do it in two steps: Build_py copies only python
files to the build folder (which should not fail) and Build_ext will build
only the extensions (which will probably fail). Theoretically, once the
build is successful, the install command moves the files to the correct
location inside the python folder. I'm not sure it works on the Mac, I copy
everything manually (into the site-packages folder).
The biggest problem is to get the extensions compiled. I don't know your
package but I hope its not too difficult in your case. A good place to start
is Jack Jansen's instructions on building python from source. It helped me a
lot.
Yair
--
Yair Benita
Pharmaceutical Proteomics
Utrecht University