diff --git a/Makefile b/Makefile index 6beadcb..7ba30cd 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ -default: +default: install + +.PHONY: install +install: pip install -r requirements.txt pip install . +.PHONY: install-dev install-dev: - pip install -r requirements.txt pip install -r requirements_dev.txt pip install -e . diff --git a/pyproject.toml b/pyproject.toml index 3ec8a80..848e39b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] +requires = ["setuptools", "cython", "numpy", "wheel"] build-backend = "setuptools.build_meta" -requires = ["setuptools", "wheel", "Cython", "numpy"] diff --git a/requirements_dev.txt b/requirements_dev.txt index f6320d3..4c50c00 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,4 @@ +-r requirements.txt flake8 pytest pytest-cov diff --git a/setup.py b/setup.py index b6ee55a..1c16766 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,14 @@ print(np.get_include()) +requirements = [ + "numpy", + "daisy", + "scikit-image", + "cython", + "zarr", +] + setup( name="funlib.segment", version="0.1",