diff --git a/Makefile b/Makefile index 07fe739..80f385c 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,12 @@ lint: .PHONY: flake flake: lint +.PHONY: build +build: + rm -Rf $(ROOT_DIR)/dist + + python -m build $(ROOT_DIR) + .PHONY: check-python-vars check-python-vars: ifndef TWINE_USER diff --git a/pyproject.toml b/pyproject.toml index fcd34db..5a03271 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,12 @@ classifiers = [ ] dynamic = [ "version", - "dependencies" +] + +dependencies = [ + "grpcio>=1.51.3", + "deep-proto>=1.0.5", + "protobuf>=3.20.3" ] [tool.hatch.build.targets.sdist] @@ -44,10 +49,6 @@ packages = ["src/deep"] [tool.hatch.version] path = "src/deep/version.py" -# read dependencies from reuirements.txt -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} - [tool.pytest.ini_options] pythonpath = [ "./src",