Skip to content

Commit e56c47e

Browse files
committed
pypi
1 parent ccf0378 commit e56c47e

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.idea
22
venv/
3-
__pycache__
3+
__pycache__
4+
build/
5+
dbpl.egg-info
6+
dist/

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ format, created by my absolute favorite desktop audio player
77
I created it to be able to edit paths to audio files in the playlist, although
88
it's possible to change any tracks properties.
99

10+
## Installation
11+
12+
It's available in Pypi:
13+
```
14+
pip install dbpl
15+
```
16+
1017
## Example
1118

1219
Let's imagine you have a large `.dbpl` playlist with hundreds of items, and you want
@@ -31,11 +38,6 @@ if __name__ == '__main__':
3138
playlist.save(args.output)
3239
```
3340

34-
Then use it:
35-
```
36-
python3 ./script.py --input old.dbpl --output new.dbpl
37-
```
38-
3941
## License
4042

4143
BSD-2c

dbpl/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .dbpl import Track, Playlist, Flag

dbpl.py dbpl/dbpl.py

File renamed without changes.

setup.cfg

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[metadata]
2+
name = dbpl
3+
version = 1.0.1
4+
author = Evgeny Zinoviev
5+
author_email = [email protected]
6+
description =
7+
long_description = file: README.md
8+
license = BSD
9+
license_file = LICENSE
10+
long_description_content_type = text/markdown
11+
url = https://github.com/gch1p/deadbeef-playlist.git
12+
project_urls =
13+
Bug Tracker = https://github.com/gch1p/deadbeef-playlist/issues
14+
classifiers =
15+
Programming Language :: Python :: 3
16+
License :: OSI Approved :: BSD License
17+
Operating System :: OS Independent
18+
19+
[options]
20+
packages = dbpl
21+
python_requires = >=3.6
22+
include_package_data = True

0 commit comments

Comments
 (0)