Skip to content

Provide a get_include function #480

@emlys

Description

@emlys

numpy provides a get_include() function, which returns the path to the directory containing numpy header files that you might want to compile against. We call numpy.get_include() in the natcap.invest setup.py in order to pass that include directory to the compiler.

We're now doing a similar thing with pygeoprocessing, compiling against ManagedRaster, which currently looks like os.path.join(pygeoprocessing.__path__[0], 'extensions'). It would be nice if pygeoprocessing provided its own get_include function so that other libraries don't need to know anything about pygeoprocessing's directory structure.

Time estimate 1 - 3 hours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions