From 82504436cf0ef3f864991859029c31a8e18553ba Mon Sep 17 00:00:00 2001 From: ElinaValieva Date: Mon, 18 May 2020 14:27:22 +0300 Subject: [PATCH] Feat: release 1.0.1 --- .github/workflows/pythonpublish.yml | 32 ++++++++++++++--------------- README.md | 9 ++++++-- setup.py | 5 ++--- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 4e1ef42..db0e224 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -13,19 +13,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - python setup.py sdist bdist_wheel - twine upload dist/* + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/* diff --git a/README.md b/README.md index 09d1700..f244361 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ # deezer-playlist-generator +![Python package](https://github.com/ElinaValieva/deezer-playlist-generator/workflows/Python%20package/badge.svg) +![Python](https://img.shields.io/pypi/pyversions/deezer-playlist-generator.svg?style=flat-square) +![](https://img.shields.io/pypi/l/deezer-playlist-generator.svg?style=flat-square) +![Version](https://img.shields.io/pypi/v/deezer-playlist-generator.svg?logo=python&logoColor=fff&style=flat-square) + > Library for working with Deezer API for creating a playlist by your preferences in **Deezer**   ## Installation :hammer: -The package is published on PyPI and can be installed by running: +The package is published on [PyPI](https://pypi.org/project/deezer-playlist-generator/#description) and can be installed by running: ``` pip install deezer-playlist-generator ``` @@ -60,4 +65,4 @@ tracks = cp.generate_tracks() DeezerPlayer(tracks).start() ``` -![](https://github.com/ElinaValieva/deezer-playlist-generator/blob/master/images/markdown.png) +![](https://github.com/ElinaValieva/deezer-playlist-generator/blob/master/images/markdown.png) \ No newline at end of file diff --git a/setup.py b/setup.py index c681a24..dc88beb 100644 --- a/setup.py +++ b/setup.py @@ -13,9 +13,9 @@ def requirements(): return requirement -version = '1.0.0' +version = '1.0.1' setup( - name='deezer_api', + name='deezer-playlist-generator', version=version, description='Library for working with Deezer API for creating a playlist by your preferences in Deezer', long_description=readme(), @@ -36,7 +36,6 @@ def requirements(): "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 :: Software Development :: Libraries :: Python Modules", ],