-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.cfg
92 lines (77 loc) · 2.22 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[metadata]
name = pydora
version = attr: pandora.__version__
description = Python wrapper for Pandora API
long_description = file: README.rst
author = Mike Crute
author_email = [email protected]
url = https://github.com/mcrute/pydora
classifiers =
Development Status :: 5 - Production/Stable
Development Status :: 6 - Mature
Environment :: Console
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Topic :: Internet :: WWW/HTTP
Topic :: Multimedia :: Sound/Audio
Topic :: Multimedia :: Sound/Audio :: Players
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
[options]
packages = find:
python_requires = >=3.8
install_requires =
requests >=2, <3
blowfish >=0.6.1, <1.0
[options.packages.find]
exclude =
tests
tests.*
[options.entry_points]
console_scripts =
pydora = pydora.player:main
pydora-configure = pydora.configure:main
[tox:tox]
# tox 3.19 just totally fails without this
[testenv:format]
deps =
black ==24.4.2
commands =
black -l 79 -t py311 pandora/ pydora/ tests/ setup.py
[testenv:tests]
deps =
pytest
black ==24.4.2
flake8 >=3.3
coverage >=7
commands =
black --check -l 79 -t py311 pandora/ pydora/ tests/ setup.py
flake8 --statistics --ignore=E231 pandora/ pydora/ tests/ setup.py
coverage run --source='pandora/,pydora/' -m pytest
coverage report --fail-under 100 -m --include='pandora/*'
coverage report -m --include='pydora/*'
coverage html --include='pandora/*,pydora/*'
[testenv:release]
deps =
build
commands =
python -m build --sdist
python -m build --wheel
[testenv:upload]
skip_install = true
deps =
twine
passenv =
TWINE_PASSWORD
commands =
twine upload -u __token__ --non-interactive --skip-existing dist/*