Browsing articles tagged with " libraries"
Oct
7

Setting up for Python development in Ubuntu

By Eric Shull  //  Blog Post  //  No Comments

I’ve been working on a Python graphics library and trying to do some development in Ubuntu. It wasn’t going well, and most of the development took place on Windows XP. Much of the difficulty in Ubuntu was trying to make Python see the library as an installed library. To do that in Windows, I merely put the code in C:\Python26\lib\site-packages\balthasar, but trying to do the equivalent in Ubuntu with the dist-packages folder was a mess and, I gathered, a really bad idea altogether.

Fortunately, there is a simple way to edit the .bashrc file in Ubuntu to add a home directory folder to Python’s search path. read more