diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9ac9b91 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools >= 40.9.0", + "wheel", +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..adbc1a3 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,33 @@ +[metadata] +name = zotify +version = 0.6.6 +author = Zotify Contributors +description = A highly customizable music and podcast downloader +long_description = file: README.md +long_description_content_type = text/markdown +keywords = python, music, podcast, downloader +licence = Unlicence +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: The Unlicense (Unlicense) + Operating System :: OS Independent + +[options] +packages = zotify +python_requires = >=3.9 +install_requires = + librespot@git+https://github.com/kokarare1212/librespot-python.git + ffmpy + music_tag + Pillow + protobuf + pwinput + tabulate + tqdm + +[options.package_data] + file: README.md, LICENSE + +[options.entry_points] +console_scripts = + zotify = zotify.__main__:main diff --git a/setup.py b/setup.py deleted file mode 100644 index 2f60251..0000000 --- a/setup.py +++ /dev/null @@ -1,35 +0,0 @@ -from pathlib import Path -from distutils.core import setup -from setuptools import setup, find_packages - - -# The directory containing this file -HERE = Path(__file__).parent - -# The text of the README file -README = (HERE / "README.md").read_text() - -# This call to setup() does all the work -setup( - name="zotify", - version="0.6.6", - author="Zotify Contributors", - description="A music and podcast downloader.", - long_description=README, - long_description_content_type="text/markdown", - url="https://gitlab.com/team-zotify/zotify.git", - package_data={'': ['README.md', 'LICENSE']}, - packages=['zotify'], - include_package_data=True, - entry_points={ - 'console_scripts': [ - 'zotify=zotify.__main__:main', - ], - }, - classifiers=[ - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - ], - install_requires=['ffmpy', 'music_tag', 'Pillow', 'protobuf', 'pwinput', 'tabulate', 'tqdm', - 'librespot @ https://github.com/kokarare1212/librespot-python/archive/refs/heads/rewrite.zip'], -)