Skip to content

Commit

Permalink
Fix win64 installation encoding issues (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekfal committed Feb 5, 2024
1 parent b53f962 commit ec3b04d
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 12 deletions.
2 changes: 0 additions & 2 deletions cropmaps/clipper.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import os
import logging
Expand Down
2 changes: 0 additions & 2 deletions cropmaps/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

class timeseriesError(Exception):
""" Base class for exceptions in this module."""
Expand Down
2 changes: 0 additions & 2 deletions cropmaps/sts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions cropmaps/ts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging
import datetime
Expand Down
3 changes: 1 addition & 2 deletions cropmaps/vi.py
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit ec3b04d

Please sign in to comment.