Add testing for Python 3.8 and remove 3.5
This commit is contained in:
18
.travis.yml
18
.travis.yml
@@ -4,13 +4,6 @@ dist: xenial
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.5
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:mc3man/xerus-media -y
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
|
||||
before_script:
|
||||
ffmpeg --help
|
||||
- python: 3.6
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:mc3man/xerus-media -y
|
||||
@@ -25,9 +18,16 @@ matrix:
|
||||
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
|
||||
before_script:
|
||||
ffmpeg --help
|
||||
- python: 3.6
|
||||
- python: 3.8
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:mc3man/xerus-media -y
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
|
||||
before_script:
|
||||
ffmpeg --help
|
||||
- python: 3.8
|
||||
env: TOXENV=doc
|
||||
- python: 3.6
|
||||
- python: 3.8
|
||||
env: TOXENV=check
|
||||
allow_failures:
|
||||
- env: TOXENV=check
|
||||
|
||||
@@ -14,9 +14,9 @@ classifiers =
|
||||
License :: OSI Approved :: MIT License
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.5
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Topic :: Internet :: WWW/HTTP
|
||||
Topic :: Multimedia :: Graphics :: Viewers
|
||||
Topic :: Software Development :: Libraries :: Python Modules
|
||||
@@ -25,7 +25,7 @@ classifiers =
|
||||
zip_safe = False
|
||||
include_package_data = True
|
||||
packages = find:
|
||||
python_requires = >=3.5
|
||||
python_requires = >=3.6
|
||||
setup_requires =
|
||||
setuptools_scm
|
||||
install_requires =
|
||||
|
||||
4
setup.py
4
setup.py
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from setuptools import setup
|
||||
|
||||
if sys.version_info[:2] < (3, 5):
|
||||
sys.exit('Sigal supports Python 3.5+ only')
|
||||
if sys.version_info[:2] < (3, 6):
|
||||
sys.exit('Sigal supports Python 3.6+ only')
|
||||
|
||||
setup(use_scm_version=True)
|
||||
|
||||
@@ -46,9 +46,6 @@ __url__ = 'https://github.com/saimn/sigal'
|
||||
|
||||
_DEFAULT_CONFIG_FILE = 'sigal.conf.py'
|
||||
|
||||
if sys.version_info[:2] < (3, 5):
|
||||
raise Exception('Sigal supports Python 3.5+ only')
|
||||
|
||||
|
||||
@click.group()
|
||||
@click.version_option(version=__version__)
|
||||
|
||||
Reference in New Issue
Block a user