Skip to content

Commit 9c82012

Browse files
committed
Python >= 3.9
1 parent 8154b9b commit 9c82012

7 files changed

Lines changed: 11 additions & 30 deletions

File tree

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
[flake8]
22
max-line-length = 132
33
exclude = .git,__pycache__,.eggs/,doc/,docs/,build/,dist/,archive/
4-
per-file-ignores =
5-
__init__.py:F401

.gitattributes

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: [3.7, 3.x]
16+
python-version: [3.9, 3.x]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.14...3.25)
1+
cmake_minimum_required(VERSION 3.14...4.0)
22
project(Maidenhead LANGUAGES Fortran)
33

44
enable_testing()

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Michael Hirsch, Ph.D.
3+
Copyright (c) 2018 SciVision, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "maidenhead"
7-
version = "1.7.0"
87
description = "Maidenhead Locator, Lat Lon coordinate convertor"
98
keywords = ["location", "maidenhead"]
109
classifiers = ["Development Status :: 5 - Production/Stable",
@@ -16,11 +15,12 @@ classifiers = ["Development Status :: 5 - Production/Stable",
1615
"Programming Language :: Python :: 3",
1716
"Topic :: Scientific/Engineering :: GIS"
1817
]
19-
requires-python = ">=3.7"
20-
dynamic = ["readme"]
18+
requires-python = ">=3.9"
19+
dynamic = ["readme", "version"]
2120

2221
[tool.setuptools.dynamic]
2322
readme = {file = ["README.md"], content-type = "text/markdown"}
23+
version = {attr = "maidenhead.__version__"}
2424

2525
[project.optional-dependencies]
2626
tests = ["pytest"]

src/maidenhead/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
from .to_location import to_location
1111
from .to_maiden import to_maiden
1212

13+
__all__ = ["to_location", "to_maiden"]
14+
__version__ = "1.7.0`"
15+
1316

1417
def google_maps(maiden: str, center: bool = False) -> str:
1518
"""

0 commit comments

Comments
 (0)