This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This is a modified version of pyoptsparse/pyoptsparse/pySNOPT/setup.py | |
# The modifications allow the user to use pyOpt with SNOPT precompiled libraries. | |
# | |
# Instructions: | |
# 1. Replace pyoptsparse/pyoptsparse/pySNOPT/setup.py with this file. | |
# 2. Modify line 39 so that snopt7_path is the actual path to the location of the | |
# precompiled SNOPT library (libsnopt7.*). | |
# 3. Make sure to add the location of the library to DYLD_LIBRARY_PATH (for macOS) |