Change package layout

This commit is contained in:
kokarare1212 2021-09-13 06:47:53 +09:00
parent dee69a9ee5
commit dc41f749bf
No known key found for this signature in database
GPG Key ID: 9FB32C7C7D874F7A
4 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,4 @@
from __future__ import annotations
from librespot.proto.Keyexchange_pb2 import BuildInfo, Platform, Product, ProductFlags
import platform
@ -28,4 +29,4 @@ class Version:
return BuildInfo(product=Product.PRODUCT_CLIENT,
product_flags=[ProductFlags.PRODUCT_FLAG_NONE],
platform=Version.platform(),
version=112800721)
version=112800721)

View File

@ -1,12 +1,9 @@
from __future__ import annotations
import urllib.parse
from Cryptodome import Random
from Cryptodome.Hash import HMAC, SHA1
from Cryptodome.PublicKey import RSA
from Cryptodome.Signature import PKCS1_v1_5
from librespot import util
from librespot import util, Version
from librespot.audio import AudioKeyManager, CdnManager, PlayableContentFeeder
from librespot.audio.storage import ChannelManager
from librespot.cache import CacheManager
@ -16,7 +13,6 @@ from librespot.metadata import AlbumId, ArtistId, EpisodeId, ShowId, TrackId
from librespot.proto import Authentication_pb2 as Authentication, Connect_pb2 as Connect, Keyexchange_pb2 as Keyexchange, Metadata_pb2 as Metadata
from librespot.proto.ExplicitContentPubsub_pb2 import UserAttributesUpdate
from librespot.structure import Closeable, MessageListener, RequestListener, SubListener
from librespot.version import Version
import base64
import concurrent.futures
import defusedxml.ElementTree
@ -35,6 +31,7 @@ import struct
import threading
import time
import typing
import urllib.parse
import websocket

View File

@ -3,4 +3,5 @@ protobuf==3.17.3
pycryptodomex==3.10.1
pyogg==0.6.14a.1
requests==2.26.0
websocket-client==1.2.1
websocket-client==1.2.1
zeroconf==0.36.2

View File

@ -11,7 +11,7 @@ setuptools.setup(name="librespot",
packages=setuptools.find_packages("."),
install_requires=[
"defusedxml", "protobuf", "pycryptodomex", "pyogg",
"requests"
"requests", "zeroconf"
],
classifiers=[
"Development Status :: 1 - Planning",