Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ccc-model-manager / lib / python3.9 / site-packages / scipy / _lib / _boost_utils.py
Size: Mime:
'''Helper functions to get location of header files.'''

import pathlib
from typing import Union


def _boost_dir(ret_path: bool = False) -> Union[pathlib.Path, str]:
    '''Directory where root Boost/ directory lives.'''
    p = pathlib.Path(__file__).parent / 'boost'
    return p if ret_path else str(p)