From d570eddc6dead4a030c335324766067d992a3ae4 Mon Sep 17 00:00:00 2001 From: spl0k Date: Thu, 18 Jan 2018 21:13:19 +0100 Subject: [PATCH] Notify Python 3 support Closes #75 --- .travis.yml | 4 ---- README.md | 5 +++-- setup.py | 7 ++++++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef2e906..90f182c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,3 @@ install: - pip install lxml coverage codecov script: coverage run setup.py test after_script: codecov -matrix: - allow_failures: - - python: 3.5 - - python: 3.6 diff --git a/README.md b/README.md index 2757ccf..64bff06 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Supysonic is a Python implementation of the [Subsonic][] server API. [![Build Status](https://travis-ci.org/spl0k/supysonic.svg?branch=master)](https://travis-ci.org/spl0k/supysonic) [![codecov](https://codecov.io/gh/spl0k/supysonic/branch/master/graph/badge.svg)](https://codecov.io/gh/spl0k/supysonic) -![Python](https://img.shields.io/badge/python-2.7-blue.svg) +![Python](https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6-blue.svg) Current supported features are: * browsing (by folders or tags) @@ -49,7 +49,7 @@ To install it, run: You'll need these to run Supysonic: -* Python 2.7 +* Python 2.7 or >= 3.5 * [Flask](http://flask.pocoo.org/) >= 0.9 * [PonyORM](https://ponyorm.com/) * [Python Imaging Library](https://github.com/python-pillow/Pillow) @@ -388,3 +388,4 @@ There could be both SQL scripts or Python scripts. The Python scripts require arguments that are explained when the script is invoked with the `-h` flag. If a migration script isn't provided for a specific database engine, it simply means that no migration is needed for this engine. + diff --git a/setup.py b/setup.py index 0f27795..98bea82 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # -# Copyright (C) 2013-2017 Alban 'spl0k' Féron +# Copyright (C) 2013-2018 Alban 'spl0k' Féron # 2017 Óscar García Amor # # Distributed under terms of the GNU AGPLv3 license. @@ -44,7 +44,12 @@ setup( 'Intended Audience :: End Users/Desktop', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: GNU Affero General Public License v3', + 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Multimedia :: Sound/Audio' ] ) +