97 lines
2.0 KiB
INI
97 lines
2.0 KiB
INI
[metadata]
|
|
name = traitorous_jprm
|
|
description = Like Jellyfin Plugin Repository Manager but less trustworthy
|
|
long_description = file: README.md
|
|
long_description_content_type = text/markdown
|
|
url = https://gitea.narnian.us/lordwelch/jprm
|
|
author = lordwelch
|
|
author_email = git@lordwelch.me
|
|
license = MPL-2.0
|
|
license_files = LICENSE.txt
|
|
classifiers =
|
|
Intended Audience :: Developers
|
|
Intended Audience :: System Administrators
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3 :: Only
|
|
Topic :: Software Development :: Build Tools
|
|
Topic :: System :: Software Distribution
|
|
keywords =
|
|
Jellyfin
|
|
plugin
|
|
repository
|
|
compile
|
|
publish
|
|
development
|
|
project_urls =
|
|
documentation = https://jprm.traitorous.enterprises
|
|
|
|
[options]
|
|
packages = find:
|
|
install_requires =
|
|
Click!=8.0.0,~=8.0
|
|
PyYAML>=5.4,<7
|
|
click-log~=0.4.0
|
|
python-slugify~=8.0
|
|
requests
|
|
tabulate~=0.9.0
|
|
python_requires = >=3.10
|
|
zip_safe = True
|
|
|
|
[options.packages.find]
|
|
exclude = tests
|
|
|
|
[options.entry_points]
|
|
console_scripts = jprm=jprm.__main__:cli
|
|
|
|
[mypy]
|
|
check_untyped_defs = true
|
|
local_partial_types = true
|
|
|
|
[flake8]
|
|
extend-ignore = E501, A003
|
|
max_line_length = 120
|
|
per-file-ignores =
|
|
*_test.py: LN001, T201
|
|
|
|
[tox:tox]
|
|
envlist = py3.10,py3.11,py3.12,py3.13,py3.14,pypy3
|
|
|
|
[testenv]
|
|
deps = -rrequirements-dev.txt
|
|
commands =
|
|
coverage erase
|
|
coverage run -m pytest {posargs:tests}
|
|
coverage report
|
|
|
|
[testenv:wheel]
|
|
description = Generate wheel and tar.gz
|
|
labels =
|
|
release
|
|
build
|
|
skip_install = true
|
|
deps =
|
|
build
|
|
commands_pre =
|
|
-python -c 'import shutil,pathlib; \
|
|
shutil.rmtree("./build/", ignore_errors=True); \
|
|
shutil.rmtree("./dist/", ignore_errors=True)'
|
|
commands =
|
|
python -m build
|
|
|
|
[testenv:pypi-upload]
|
|
description = Upload wheel to PyPi
|
|
platform = linux
|
|
labels =
|
|
release
|
|
skip_install = true
|
|
depends = wheel
|
|
deps =
|
|
twine
|
|
passenv =
|
|
TWINE_*
|
|
setenv =
|
|
TWINE_NON_INTERACTIVE=true
|
|
commands =
|
|
python -m twine upload dist/*.whl dist/*.tar.gz
|