Skip to content

Commit ed760f5

Browse files
chore: migrate to v2
1 parent 24e19f3 commit ed760f5

File tree

8 files changed

+13
-20
lines changed

8 files changed

+13
-20
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ jobs:
3636
- name: Install Dependencies
3737
run: poetry install --no-interaction --no-root
3838

39+
- name: Build Wheels
40+
run: poetry build -f wheel
41+
3942
- name: Publish to PyPI
4043
env:
4144
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
4245
run: |
4346
poetry config pypi-token.pypi $PYPI_TOKEN
44-
poetry publish --build
47+
poetry publish --no-build

examples/get_track_titles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22

3-
import spotbee
3+
import spotbeeV2 as spotbee
44

55
instance = spotbee.SpotBee("spotify_client_id", "spotify_client_secret")
66

examples/get_urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22

3-
import spotbee
3+
import spotbeeV2 as spotbee
44

55
instance = spotbee.SpotBee("spotify_client_id", "spotify_client_secret")
66

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
2-
name = "spotbee"
3-
version = "1.0.0"
2+
name = "spotbeev2"
3+
version = "2.0.0"
44
description = "A simple module that converts Spotify Playlists into a list of Youtube URLs"
55
authors = ["Nishant Sapkota <snishant306@gmail.com>"]
66
license = "MIT"
@@ -13,13 +13,14 @@ classifiers = [
1313
"Topic :: Software Development :: Libraries :: Python Modules",
1414
]
1515

16+
1617
[tool.poetry.dependencies]
1718
python = "^3.9"
1819
spotipy = "^2.19.0"
1920
aiohttp = "^3.7.4"
2021

21-
[tool.poetry.dev-dependencies]
22-
22+
[tool.poetry.group.dev.dependencies]
23+
pytest = "^7.0"
2324

2425
[build-system]
2526
requires = ["poetry-core>=1.0.0"]

spotbee/__main__.py

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import asyncio
22

3-
from spotbee.spotify import SpotifyHandler
3+
from spotbeeV2.spotify import SpotifyHandler
44

55
from .ytsearch import YoutubeSearch
66

7-
__version__ = "1.1.0"
7+
__version__ = "2.0.0"
88

99

1010
class SpotBee:
File renamed without changes.

0 commit comments

Comments
 (0)