build: add watchman

This commit is contained in:
eneller
2025-03-19 22:22:45 +01:00
parent 3d10081846
commit b65d878981
4 changed files with 21 additions and 2 deletions

View File

@@ -1,2 +1,6 @@
# epub2go-web
A simple Website to provide a `NNI (Non-Nerd Interface)` to [epub2go.py](https://github.com/eneller/epub2go.py), a web to epub converter.
A simple Website to provide a `NNI (Non-Nerd Interface)` to [epub2go.py](https://github.com/eneller/epub2go.py), a web to epub converter.
## Development
This project uses [watchman](https://facebook.github.io/watchman/) for file watching and reloading.
Follow the [official instructions](https://facebook.github.io/watchman/docs/install.html) for your system to install, django will default to its standard watcher otherwise.

View File

@@ -4,11 +4,11 @@ version = "0.1.0"
description = "Web Interface to epub2go.py"
readme = "README.md"
requires-python = ">=3.12"
# TODO enable auto-reload using https://github.com/adamchainz/django-browser-reload
dependencies = [
"celery>=5.4.0",
"django>=5.1.6",
"epub2go",
"pywatchman>=2.0.0",
]
[tool.uv.sources]

4
src/.watchmanconfig Normal file
View File

@@ -0,0 +1,4 @@
{
"ignore_dirs": ["node_modules"]
}

11
uv.lock generated
View File

@@ -201,6 +201,7 @@ dependencies = [
{ name = "celery" },
{ name = "django" },
{ name = "epub2go" },
{ name = "pywatchman" },
]
[package.metadata]
@@ -208,6 +209,7 @@ requires-dist = [
{ name = "celery", specifier = ">=5.4.0" },
{ name = "django", specifier = ">=5.1.6" },
{ name = "epub2go", git = "https://github.com/eneller/epub2go.py" },
{ name = "pywatchman", specifier = ">=2.0.0" },
]
[[package]]
@@ -266,6 +268,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892 },
]
[[package]]
name = "pywatchman"
version = "2.0.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/cf/39/fc10dd952ac72a3a293936cd66a4551fdeb9012d2db99234a376100641ce/pywatchman-2.0.0.tar.gz", hash = "sha256:25354d9e3647f94411a4c13e510c83a1ceecc17977b0525ba41b16e7019c7b0c", size = 40570 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/51/7f/5d68d803489770cffa5d2b44be99b978c866f8a4d8e835f9da850415ed8a/pywatchman-2.0.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:51c2b4c72bea6b9fd90caf20759f5bc47febf0fd27bf2f247b87c66e2f6bab02", size = 52557 },
]
[[package]]
name = "requests"
version = "2.32.3"