transformify-plugins / segmentify

Python image segmentation plugin
BSD 3-Clause "New" or "Revised" License
32 stars 8 forks source link

Use relative path import #7

Closed marshuang80 closed 5 years ago

marshuang80 commented 5 years ago

Description

This PR converted absolute path import to relative path import.

Type of change

How has this been tested?

Tested on local computer.

Final checklist:

kne42 commented 5 years ago

yeah this should be osp.join(osp.dirname(osp.dirname(__file__)), 'models', ...)

also make sure that you include non-python files in your MANIFEST.in and set setup(..., include_package_data=True, ...) in setup.py

marshuang80 commented 5 years ago

Got it, thanks!

marshuang80 commented 5 years ago

Fixed #8

marshuang80 commented 5 years ago

Fixed #6