Skip to content

Commit

Permalink
updated the toml file for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Itz-Agasta committed Feb 21, 2025
1 parent 096af12 commit 161f12c
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 104 deletions.
7 changes: 5 additions & 2 deletions ethos/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@

import os
import sys

from ethos.ui import ui

if __name__ == "__main__":
def main():
"""Main entry point for the Ethos music player."""
ethos_ui = ui.UI()
ethos_ui.draw_ui()

if __name__ == "__main__":
sys.exit(main())
162 changes: 94 additions & 68 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 56 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,43 +1,65 @@
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ethos"
[tool.poetry]
name = "ethos-cli"
version = "0.1.0"
description = "A cross-platform CLI audio playbacker delivering local and online music streaming with User's Spotify playlist integration."
description = "A cross-platform CLI music player delivering local and online music streaming with User's Spotify playlist integration."
authors = [
{name = "Agasta", email = "[email protected]"},
{name = "techie-coder", email = "[email protected]"},
{name = "ZotacMaster", email = "[email protected]"},
{name = "Saikat Mahara"},
{name = "Albin Mathew"},
"Agasta <[email protected]>",
"techie-coder <[email protected]>",
"ZotacMaster <[email protected]>"
]
maintainers = ["Agasta <[email protected]>"]
readme = "README.md"
license = 'MIT'

keywords = ["ethos", "cli-music-player", "spotify", "vlc", "yt-dlp", "audio-player"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Multimedia :: Sound/Audio :: Players"
]
dependencies = [
"yt-dlp==2025.01.26",
"python-vlc==3.0.21203",
"spotipy==2.25.0",
"textual==1.0.0",
"rich==13.9.4",
"python-dotenv==1.0.1",
"httpx>=0.28.1"
packages = [
{ include = "ethos", from = "." }
]

[tool.poetry.urls]
homepage = "https://github.com/Itz-Agasta/ethos"
repository = "https://github.com/Itz-Agasta/ethos"
documentation = "https://github.com/Itz-Agasta/ethos/blob/master/README.md"

[tool.poetry.dependencies]
python = ">=3.9,<4.0.0"
python = ">=3.9,<4.0"
yt-dlp = "2025.01.26"
python-vlc = "3.0.21203"
spotipy = "2.25.0"
textual = "1.0.0"
rich = "13.9.4"
python-dotenv = "1.0.1"
httpx = ">=0.28.1"

[project.optional-dependencies]
dev = [
"pytest>=8.3.4"
]
[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
pytest = "^6.0.0"
pytest-mock = "*"

[tool.pytest.ini_options]
pythonpath = [
"."
]
testpaths = [
"tests"
]
python_files = [
"test_*.py"
]
minversion = "6.0"
addopts = "-ra -q --cov=ethos"
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"

[tool.coverage.run]
source = ["ethos"]
omit = ["tests/*", "**/__init__.py"]

[tool.poetry.scripts]
ethos = "ethos.main:main"

0 comments on commit 161f12c

Please sign in to comment.