Commit f08db336 authored by Thorsten Simons's avatar Thorsten Simons
Browse files

2.1.0 - added a fix to charts.prep to allow documentation build below Python 3.5

parent f74ee322
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ TBD
Dependencies
------------

You need to have at least Python 3.4.3 installed to run **hcplogs**.
You need to have at least Python 3.5 installed to run **hcplogs**.

It depends on `hcpsdk <http://simont3.github.io/hcpsdk/>`_,used to access HCP.

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ Features
Dependencies
------------

You need to have at least Python 3.4.3 installed to run **hcplogs**.
You need to have at least Python 3.5 installed to run **hcplogs**.

It depends on [hcpsdk](http://hcpsdk.readthedocs.org), used to access HCP.

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ Features
Dependencies
------------

You need to have at least Python 3.4.3 installed to run **hcplogs**.
You need to have at least Python 3.5 installed to run **hcplogs**.

It depends on `hcpsdk <http://simont3.github.io/hcpsdk/>`_, used to access HCP.

+5 −2
Original line number Diff line number Diff line
@@ -23,9 +23,12 @@

import logging
from csv import DictReader
from os import scandir
from os.path import join

# workaround to allow documentation to be built below Python 3.5
try:
    from os import scandir
except ImportError:
    scandir = print
from . import M_DAY, M_HOUR, M_ALL, rec, S_SPECIALFOLDERS

logging.getLogger('charts.prep').addHandler(logging.NullHandler())
+0 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ setup(

        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',

        # more...