Skip to content

Dev environment (mac)

Ethan edited this page Jun 24, 2016 · 1 revision

Directions for configuring python interpreter to find Tulip libraries. This should be done before trying to work with TulipPaths.

Assumptions

  • MacOS X 10.11.5 (will probably work on others too)
  • Python 2.7.10 (installed by default on MacOS)
  • Tulip > 4.8.0 (with python packaged)

Environment

Add the following directories to environment variables:

  • PYTHONPATH : /Applications/Tulip-4.8.1.app/Contents/lib/python/
  • DYLD_LIBRARY_PATH : /Applications/Tulip-4.8.1.app/Contents/lib/tulip

Test

Launch python interpreter and run 'import tulip'

Clone this wiki locally