seung-lab / connected-components-3d

Connected components on discrete and continuous multilabel 3D & 2D images. Handles 26, 18, and 6 connected variants; periodic boundaries (4, 8, & 6)
GNU Lesser General Public License v3.0
356 stars 42 forks source link

Delayed numpy import during setup #104

Closed maxme1 closed 1 year ago

maxme1 commented 1 year ago

Hi! I have trouble installing this library because it requires numpy to be already installed. This PR adds a delayed numpy import during setup.

william-silversmith commented 1 year ago

I think this solves a problem I've been unable to solve for five years. Thank you! I will be copying this everywhere.

maxme1 commented 1 year ago

Great! I'm glad I could help. :wink: