diff --git a/.travis.yml b/.travis.yml index ab1542fd..9f2302cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,9 @@ sudo: false language: python +# dist: xenial matrix: include: - - name: "Python 3.4 on Linux" - os: linux - python: 3.4 - env: TOXENV=py34 - name: "Python 3.5 on Linux" os: linux python: 3.5 @@ -31,7 +28,6 @@ matrix: # 'python:' is ignored on Travis CI macOS before_install: python3 --version ; pip3 --version ; sw_vers; pip3 install codecov tox allow_failures: - - python: "3.8-dev" - os: osx # fast_finish: true @@ -58,6 +54,7 @@ notifications: #cache: # pip: true + # os: # - windows # not supported -# https://github.com/cclauss/Travis-CI-Python-on-three-OSes/blob/master/.travis.yml \ No newline at end of file +# https://github.com/cclauss/Travis-CI-Python-on-three-OSes/blob/master/.travis.yml diff --git a/appveyor.yml b/appveyor.yml index ed4eab42..5487dcb6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,10 +2,10 @@ --- environment: matrix: -# - TOXENV: py34 - TOXENV: py35 - TOXENV: py36 - TOXENV: py37 + - TOXENV: py38 build: off diff --git a/setup.py b/setup.py index 92721ba0..d4e29848 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,8 @@ """ -import os +from os import path +from io import open from setuptools import setup # find_packages, #try: @@ -15,7 +16,7 @@ # from distutils.core import setup -here = os.path.abspath(os.path.dirname(__file__)) +here = path.abspath(path.dirname(__file__)) packages = ['trafilatura'] # some problems with installation solved this way @@ -28,7 +29,7 @@ def readme(): - with open(os.path.join(here, 'README.rst'), 'r', encoding='utf-8') as readmefile: + with open(path.join(here, 'README.rst'), 'r', encoding='utf-8') as readmefile: return readmefile.read() setup(