(user=False)
| 61 | |
| 62 | |
| 63 | def get_include(user=False): |
| 64 | import os |
| 65 | |
| 66 | d = os.path.dirname(__file__) |
| 67 | if os.path.exists(os.path.join(d, "wrappers")): |
| 68 | # Package is installed |
| 69 | return os.path.join(d, "wrappers") |
| 70 | else: |
| 71 | # Package is from a source directory |
| 72 | return os.path.join(os.path.dirname(d), "src") |
| 73 | |
| 74 | |
| 75 | __all__ = [ |
nothing calls this directly
no outgoing calls
no test coverage detected