Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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",
Expand Down