switch to static setup file

This commit is contained in:
logykk 2022-04-15 14:59:08 +12:00
parent f71074811e
commit 5c4a317d89
3 changed files with 39 additions and 35 deletions

6
pyproject.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools >= 40.9.0",
"wheel",
]
build-backend = "setuptools.build_meta"

33
setup.cfg Normal file
View File

@ -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

View File

@ -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'],
)