diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 14:35:24 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 14:36:00 +0300 |
| commit | 9fe5d3a2b988769c449d02cce318ca349ae7affc (patch) | |
| tree | 4d689bcd7bb8558bb7c0834a95c6c45d3165e68c | |
| parent | 38fa726b51b830f23dcb529e56b32a031a4a9877 (diff) | |
Prepare for packaging
| -rw-r--r-- | .gitignore | 5 | ||||
| -rw-r--r-- | .python-version | 1 | ||||
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | pyproject.toml | 25 |
4 files changed, 33 insertions, 2 deletions
@@ -1,3 +1,8 @@ *.pyc venv/ +.venv/ profile.* +dist/ +*.egg-info/ +__pycache__ +.envrc diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9 @@ -1,6 +1,6 @@ # FemtoQueue -Ever wanted a zero-dependency, filesystem-backed, durable, concurrent, retrying task queue implementation? No? +Ever wanted a zero-dependency, filesystem-backed, lock-free, durable, concurrent, retrying task queue implementation? No? ## Example @@ -50,4 +50,4 @@ python test.py ## Author and license -Jan Tuomi <<jan@jantuomi.fi>>. Licensed under AGPL 3.0. All rights reserved. +Jan Tuomi <<jan@jantuomi.fi>>. Licensed under Apache-2.0. All rights reserved. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f41761c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[project] +name = "femtoqueue" +version = "0.1.1" +description = "Ever wanted a zero-dependency, filesystem-backed, lock-free, durable, concurrent, retrying task queue implementation? No?" +readme = "README.md" +requires-python = ">=3.9" +dependencies = [] +license = "Apache-2.0" +license-files = ["LICEN[CS]E*"] +authors = [{ name = "Jan Tuomi", email = "jan@jantuomi.fi" }] +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] + +[project.urls] +Homepage = "https://github.com/jantuomi/femtoqueue" +Issues = "https://github.com/jantuomi/femtoqueue/issues" + +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[tool.setuptools] +py-modules = ["femtoqueue"] |
