diff options
| author | Aeliton G. Silva | 2026-01-12 22:39:55 -0300 |
|---|---|---|
| committer | Aeliton G. Silva | 2026-01-13 04:22:25 -0300 |
| commit | f975144f25d34f97329b2d4e52891061573cea08 (patch) | |
| tree | 226fe223b31af6f217b1dd413629ab2cf26964d4 /pyproject.toml | |
| parent | b8703752ffc7768b0275897b3c2a869ff41504e5 (diff) | |
Use pyproject.toml + uv_build
This replaces setup.py by a modern pyproject.toml using uv_build
backend.
Dependencies are being also managed by uv, so to install dependencies
and run the project one can execute:
```
uv sync
uv run pytest # optional
python -m avp
```
To build the both source and binary (wheel) distribution package run:
```
uv build
```
Uv can be installed with `pip install uv`.
The directory structure has been changed to reflect best practices.
- src/* -> src/avp/
- src/tests -> ../tests
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..58fb936 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,55 @@ +[build-system] +requires = ["uv_build>=0.9.23,<0.10.0"] +build-backend = "uv_build" + +[project] +name = "audio-visualizer-python" +description = "Create audio visualization videos from a GUI or commandline" +version = "2.1.0" +requires-python = ">= 3.13" +license = "MIT" +classifiers=[ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3 :: Only", + "Intended Audience :: End Users/Desktop", + "Topic :: Multimedia :: Video :: Non-Linear Editor", +] +keywords = [ + "visualizer", + "visualization", + "commandline video", + "video editor", + "ffmpeg", + "podcast", +] +authors = [ + {name = "Martin Kaistra", email = "admin@djfun.de"}, + {name = "Brianna Rainey", email = "rutachigal@gmail.com"}, + {name = "DH4", email = "wayne@bitstorm.pw"}, + {name = "HunterwolfAT", email = "hunterwolf0815@gmail.com"}, + {name = "rikai"}, +] +dependencies = [ + "numpy>=2.4.1", + "pillow>=12.1.0", + "pyqt6>=6.10.2", +] + +[dependency-groups] +dev = [ + "pytest", + "pytest-qt", +] + +[tool.uv.build-backend] +module-name = "avp" + +[external] +dependencies = ["pkg:generic/ffmpeg"] + +[project.urls] +repository="https://github.com/djfun/audio-visualizer-python" + +[project.scripts] +avp = "avp.cli:main" |
