Skip to content

Commit

Permalink
feat: create python package
Browse files Browse the repository at this point in the history
- Used Poetry to build a package.
Can still install with pip.
  • Loading branch information
mariugul committed Aug 12, 2024
1 parent f256d4d commit d35f51b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pikaraoke/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pikaraoke.constants import VERSION
from pikaraoke.karaoke import Karaoke
from pikaraoke.lib.get_platform import get_platform

__version__ = VERSION
PACKAGE = __package__

__all__ = [
"VERSION",
"PACKAGE",
Karaoke.__name__,
get_platform.__name__,
]
31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[tool.poetry]
name = "pikaraoke"
version = "1.0.0"
description = "Youtube-based Karaoke machine for Raspberry Pi, OSX, Windows, and Linux"
authors = ["Marius <my_email@example.com>"]

[tool.poetry.dependencies]
python = "^3.10"
CherryPy = "18.10.0"
Flask = "2.2.5"
qrcode = "7.4.2"
psutil = "6.0.0"
unidecode = "1.3.8"
requests = "2.32.3"
flask-paginate = "2021.10.29"
jinja2 = "3.0.3" # Avoid escape issue: https://github.com/sphinx-doc/sphinx/issues/10289
Babel = "2.9.1"
Flask-Babel = "2.0.0"
selenium = "4.22.0"
ffmpeg-python = "0.2.0"
yt-dlp = "2024.7.9"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"

[tool.poetry.scripts]
pikaraoke = "pikaraoke.app:main"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit d35f51b

Please sign in to comment.