-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package specs, build process, supported Python (#64)
* Add pyproject.toml * Use hatch for PyPI publishing * Update version * Use pytest and update tested Python versions * Update docs to include custom/HIPAA endpoints * Update GH actions for Python versions
- Loading branch information
Showing
10 changed files
with
104 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "pygeocodio" | ||
dynamic = ["version"] | ||
description = "Python wrapper for Geocod.io API" | ||
readme = "README.rst" | ||
license = {text = "BSD"} | ||
authors = [ | ||
{name = "Ben Lopatin", email = "[email protected]"} | ||
] | ||
keywords = ["geocodio"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Internet :: WWW/HTTP", | ||
] | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"requests>=1.0.0", | ||
] | ||
[project.optional-dependencies] | ||
tests = [ | ||
"requests>=1.0.0", | ||
"httpretty>=0.9.7", | ||
"pytest>=7.0", | ||
"pytest-cov>=4.0", | ||
] | ||
docs = [ | ||
"Sphinx==7.0.1", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/bennylope/pygeocodio" | ||
|
||
[tool.hatch.version] | ||
path = "src/geocodio/__init__.py" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/geocodio"] | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"src/geocodio", | ||
"README.rst", | ||
"HISTORY.rst", | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "7.0" | ||
addopts = "-ra -q" | ||
testpaths = [ | ||
"tests", | ||
] | ||
python_files = ["test_*.py", "*_test.py"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
__author__ = "Ben Lopatin" | ||
__email__ = "[email protected]" | ||
__version__ = "1.4.0" | ||
__version__ = "1.5.0" | ||
|
||
|
||
from geocodio.client import GeocodioClient # noqa | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters