Skip to content

Commit

Permalink
adding dependencies specification + path for packaging (#4)
Browse files Browse the repository at this point in the history
* adding dependencies specification + path for packaging

* installing built package for tests
  • Loading branch information
dgrechka authored Jul 24, 2022
1 parent fdea3c9 commit 3c194c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ steps:
image: python:3
commands:
- python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install dist/*.whl
- python -m unittest discover -s tests -v
- name: pypi publish
when:
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ version = "0.0.0"
authors = [
{ name="Dmitry Grechka", email="[email protected]" },
]
dependencies = [
'kafka-python == 2.0.2',
'scikit-image == 0.19.3'
]

[tool.hatch.build.targets]
packages = ["src/kafkajobs"]

description = "A job queue based on Apache Kafka"
readme = "README.md"
license = { file="LICENSE" }
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

0 comments on commit 3c194c8

Please sign in to comment.