user1283249
user1283249

Reputation: 11

framework for creating local environment for native libraries

I write code that often depends on native libraries on linux or mac os. Usually I don't have permissions to install the respective native lib in the system, so I resort to creating a local folder ~/env where I install my libs. I than add this to my PATH, LD_LIBRARY_PATH, C_INCLUDE_DIRS, etc. I really like homebrew and I was wondering if there is a framework (or a tool) like that (hopefully in python :) ) that will ease the process of adding native dependencies to my local environemt on both linux and mac. Thanks!

Cheers

Upvotes: 1

Views: 127

Answers (2)

dAm2K
dAm2K

Reputation: 10329

GNU autoconf, automake, libtool will do the job nicely and in a very clean and portable manner... but you'll need a good amount of time and work to make it working correctly.

You may also be interested in using WAF: http://code.google.com/p/waf/

Upvotes: 0

gepatino
gepatino

Reputation: 168

Have you tried virtualenv 1?

It's dead easy to create your own environment, then switch into it and install whatever you need with easy_install or pypi

Hope it helps

Upvotes: 1

Related Questions