diff --git a/cropmaps/clipper.py b/cropmaps/clipper.py index a7384de..ffcc85d 100644 --- a/cropmaps/clipper.py +++ b/cropmaps/clipper.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- import os import logging diff --git a/cropmaps/exceptions.py b/cropmaps/exceptions.py index 399e8e4..418bfdc 100644 --- a/cropmaps/exceptions.py +++ b/cropmaps/exceptions.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- class timeseriesError(Exception): """ Base class for exceptions in this module.""" diff --git a/cropmaps/sts.py b/cropmaps/sts.py index ea6c96d..17cd17d 100644 --- a/cropmaps/sts.py +++ b/cropmaps/sts.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- import logging import os diff --git a/cropmaps/ts.py b/cropmaps/ts.py index 32bb945..160771f 100644 --- a/cropmaps/ts.py +++ b/cropmaps/ts.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- import logging import datetime diff --git a/cropmaps/vi.py b/cropmaps/vi.py index 138fa9d..a68c4b8 100644 --- a/cropmaps/vi.py +++ b/cropmaps/vi.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- + import numpy as np # Ignoring all runtime, divided by zero numpy warnings np.seterr(all='ignore') diff --git a/pyproject.toml b/pyproject.toml index 63db246..cff41fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering :: GIS",] -requires-python = ">=3.6" +requires-python = ">=3.9" dependencies = [ "wheel", "creodias_finder@git+https://github.com/DHI-GRAS/creodias-finder", diff --git a/setup.py b/setup.py index 0add89f..abab296 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import setuptools -with open("README.md", "r") as fh: +with open("README.md", "r", encoding="utf8") as fh: long_description = fh.read() with open('requirements.txt') as f: