Skip to content

Commit

Permalink
Use python command instead of python2 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinus committed Mar 18, 2015
1 parent 54565e8 commit fd54412
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Be sure to update your `PYTHONPATH` to include `/usr/local/lib/python2.7/site-pa

## Building

python2 setup.py build
python setup.py build


## Running
Expand Down
2 changes: 1 addition & 1 deletion bin/detect_features
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import os.path, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))

Expand Down
2 changes: 1 addition & 1 deletion bin/focal_from_exif
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
import os.path, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))

Expand Down
4 changes: 4 additions & 0 deletions opensfm/src/third_party/libmv/tools/tool.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@

namespace libmv {

#ifndef gflags
namespace gflags=google;
#endif

inline void Init(const char *usage, int *argc, char ***argv) {
google::InitGoogleLogging((*argv)[0]);
gflags::SetUsageMessage(std::string(usage));
Expand Down

0 comments on commit fd54412

Please sign in to comment.