Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ __pycache__/
# Distribution / packaging
.Python
env/
venv/
build/
develop-eggs/
dist/
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Note that v1.18.* will be the last line of releases compatible with Python 2.

Please report issues at https://tickets.musicbrainz.org/browse/BU.

# Development
To develop BrainzUtils itself, install it locally in editable mode with development
dependencies by running: `pip install --group dev -e .`.

> [!NOTE]
> Support for dependency groups (`--group`) was added to pip in 25.1.0.

## Usage

You can include this line into a `requirements.txt` file:
Expand Down
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[project]
name = "brainzutils"
description = "Python tools for MetaBrainz projects"
authors = [
{ name = "MetaBrainz Foundation", email = "support@metabrainz.org" }
]
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"Flask>=3.1.0",
"Jinja2>=3.1.6",
"itsdangerous>=2.2.0",
"click>=8.1.8",
"Werkzeug>=3.1.3",
"Flask-DebugToolbar",
"sentry-sdk[flask]>=2.27.0",
"redis>=5.2.1",
"msgpack>=1.1.0",
"requests>=2.32.3",
"SQLAlchemy>=2.0.40",
"mbdata@git+https://github.com/metabrainz/mbdata.git@v30.0.0"
]

[tool.setuptools]
packages = ["brainzutils"]

[tool.setuptools_scm]

[build-system]
requires = ["setuptools>=80", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ redis>=5.2.1
msgpack>=1.1.0
requests>=2.32.3
SQLAlchemy>=2.0.40
mbdata@git+https://github.com/acoustid/mbdata.git@v29.0.0
mbdata@git+https://github.com/metabrainz/mbdata.git@v29.0.0
16 changes: 0 additions & 16 deletions setup.py

This file was deleted.