Pārlūkot izejas kodu

more python packaging preparations

milaq 6 gadi atpakaļ
vecāks
revīzija
925cb30e77
4 mainītis faili ar 59 papildinājumiem un 0 dzēšanām
  1. 3 0
      .gitignore
  2. 14 0
      LICENSE.txt
  3. 2 0
      MANIFEST.in
  4. 40 0
      setup.py

+ 3 - 0
.gitignore

@@ -1,3 +1,6 @@
+build
+dist
+*.egg-info
 .idea
 *.iml
 *.pyc

+ 14 - 0
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 <http://www.gnu.org/licenses/>.

+ 2 - 0
MANIFEST.in

@@ -0,0 +1,2 @@
+include README.md
+include LICENCE.txt

+ 40 - 0
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'])
+)