51 lines
1.4 KiB
Python
51 lines
1.4 KiB
Python
# Always prefer setuptools over distutils
|
|
from setuptools import setup, find_packages
|
|
# To use a consistent encoding
|
|
from codecs import open
|
|
from os import path
|
|
|
|
from silverstream import __author__, __version__, __licence__
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
# Get the long description from the README file
|
|
with open(path.join(here, "README.md"), encoding="utf-8") as f:
|
|
long_description = f.read()
|
|
|
|
|
|
setup(
|
|
name="silverstream",
|
|
version=__version__,
|
|
description="A fully decentralised music streaming platform",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://silverstream.org",
|
|
project_urls={
|
|
"Source": "https://example.com/me/silverstream.git"
|
|
},
|
|
author=__author__,
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
"Programming Language :: Python :: 3",
|
|
],
|
|
python_requires=">=3.7",
|
|
keywords="silverstream music streaming bittorrent kademlia p2p",
|
|
license=__licence__,
|
|
packages=find_packages(exclude=["tests"]),
|
|
install_requires=[
|
|
"python-mpv",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"matplotlib"
|
|
]
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"silverstream = silverstream.cli:main"
|
|
]
|
|
},
|
|
)
|