Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Add get_include_path (Fixes #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 23, 2014
1 parent 2123458 commit 5d425cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyublas/__init__.py
Expand Up @@ -359,6 +359,9 @@ def permutation_matrix(to_indices=None, from_indices=None, h=None, w=None,
return None


def get_include_path():
from pkg_resources import Requirement, resource_filename
return resource_filename(Requirement.parse("PyUblas"), "pyublas/include")


# C++ interface utilities -----------------------------------------------------
Expand Down

0 comments on commit 5d425cc

Please sign in to comment.