Skip to content

setup.py crashes if numpy is not installed before cartopy #1584

@rune-bk

Description

@rune-bk

This crashes the setup if numpy is not installed by pip before cartopy.

cartopy/setup.py

Lines 59 to 62 in 60ae9a6

try:
import numpy as np
except ImportError:
raise ImportError('NumPy 1.10+ is required to install cartopy.')

Given that it is already in the requirements this block of code should be removed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions