From 925cb30e778d7f0fa1b433fc7be2e291103e70f1 Mon Sep 17 00:00:00 2001 From: milaq Date: Wed, 10 Jul 2019 14:58:14 +0200 Subject: [PATCH] more python packaging preparations --- .gitignore | 3 +++ LICENSE.txt | 14 ++++++++++++++ MANIFEST.in | 2 ++ setup.py | 40 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 LICENSE.txt create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 6b0159c..0855b89 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +build +dist +*.egg-info .idea *.iml *.pyc diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..0be7c3e --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,14 @@ +Copyright (C) 2019 Micha LaQua + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ef4da53 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENCE.txt diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c356709 --- /dev/null +++ b/setup.py @@ -0,0 +1,40 @@ +from setuptools import setup, find_packages + +with open("README.md", "r") as fh: + long_description = fh.read() + +setup( + name='ycast', + version='1.0.0', + author='Micha LaQua', + author_email='micha.laqua@gmail.com', + description='Self hosted vTuner internet radio service emulation', + long_description=long_description, + long_description_content_type="text/markdown", + url='https://github.com/milaq/YCast', + license='GPLv3', + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Natural Language :: English', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python :: 3', + 'Topic :: Multimedia :: Sound/Audio', + 'Topic :: Software Development :: Libraries :: Python Modules' + ], + keywords=[ + 'ycast', + 'vtuner', + 'internet radio', + 'shoutcast', + 'avr', + 'emulation', + 'yamaha', + 'onkyo', + 'denon' + ], + install_requires=['flask', 'PyYAML'], + packages=find_packages(exclude=['contrib', 'docs', 'tests']) +)