blob: c0735fcd8493b6018656d617f0519b66779ba95a (
plain)
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
|
[metadata]
name = pydora
version = attr: pandora.__version__
description = Python wrapper for Pandora API
long_description = file: README.rst
author = Mike Crute
author_email = mike@crute.us
url = https://github.com/mcrute/pydora
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
Topic :: Internet :: WWW/HTTP
Topic :: Multimedia :: Sound/Audio :: Players
[options]
packages = find:
python_requires = >=3.5
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
[testenv:format]
deps =
black
commands =
black -l 79 -t py35 pandora/ pydora/ tests/ setup.py
[testenv:tests]
deps =
pytest
black
flake8 >=3.3
coverage >=4.1, <5
commands =
black --check -l 79 -t py35 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 =
wheel
commands =
python setup.py sdist bdist_wheel
[testenv:upload]
skip_install = true
deps =
twine
passenv =
TWINE_PASSWORD
commands =
twine upload -u __token__ --non-interactive --skip-existing dist/*
|