Skip to content

Commit df3d736

Browse files
committedDec 23, 2024
switch to poetry
1 parent 3cb0fc0 commit df3d736

File tree

5 files changed

+886
-740
lines changed

5 files changed

+886
-740
lines changed
 

‎Pipfile

-12
This file was deleted.

‎Pipfile.lock

-724
This file was deleted.

‎README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,20 @@ An HTTP service that renders chess board images.
66
Installation
77
------------
88

9-
Requires Python and pipenv:
9+
Requires Python and poetry:
1010

1111
```
1212
sudo apt-get install python3-dev libffi-dev libxml2-dev libxslt1-dev libcairo2
13-
pipenv install
13+
poetry install
1414
```
1515

1616
Usage
1717
-----
1818

1919
```
20-
pipenv run server [--port 8080] [--bind 127.0.0.1]
20+
poetry run python server.py [--port 8080] [--bind 127.0.0.1]
2121
```
2222

23-
2423
HTTP API
2524
--------
2625

‎poetry.lock

+868
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tool.poetry]
2+
name = "web-boardimage"
3+
package-mode = false
4+
description = "An HTTP service that renders chess board images"
5+
authors = ["Niklas Fiekas <niklas.fiekas@backscattering.de>"]
6+
readme = "README.md"
7+
8+
[[tool.poetry.packages]]
9+
include = "server.py"
10+
11+
[tool.poetry.dependencies]
12+
aiohttp = "^3.11.11"
13+
chess = "^1.11.1"
14+
CairoSVG = "^2.7.1"
15+
python = "^3.9"

0 commit comments

Comments
 (0)
Please sign in to comment.