Skip to content

Commit

Permalink
fix pypi build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jblance authored Jul 4, 2024
1 parent a92409e commit d6be0fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12
FROM python:3.12-alpine

RUN pip install --upgrade pip
RUN python -V
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ bluepy = { version = "^1.3.0", optional = true }
pymongo = { version = ">=4.6.1", optional = true }
psycopg2-binary = { version = ">=2.9.9", optional = true }
pymodbus = { version = ">=3.6.1", optional = true }
cysystemd = [
{ optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_aarch64.whl", markers = "platform_machine == 'aarch64'"},
{ optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_x86_64.whl", markers = "platform_machine == 'x86_64'" },
]
#cysystemd = [
# { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_aarch64.whl", markers = "platform_machine == 'aarch64'"},
# { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_x86_64.whl", markers = "platform_machine == 'x86_64'" },
#]
cysystemd = { version = "^1.6.2", optional = true }

[tool.poetry.extras]
ble = ["bluepy"]
Expand Down

0 comments on commit d6be0fe

Please sign in to comment.