-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: Use pyproject.toml instead of setup.cfg (#1129)
- Loading branch information
Showing
9 changed files
with
86 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
ignore = | ||
C408 # Unnecessary dict/list/tuple call - rewrite as a literal | ||
E203 # whitespace before ':' - doesn't work well with black | ||
E225 # missing whitespace around operator - let black worry about that | ||
W503 # line break occurred before a binary operator - let black worry about that |
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
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 |
---|---|---|
@@ -1,6 +1,60 @@ | ||
[build-system] | ||
# Minimum requirements for the build system to execute. | ||
requires = ["setuptools", "wheel", "cython>=0.28.4"] | ||
requires = ["setuptools>=61.0.0", "wheel", "cython>=0.28.4"] | ||
|
||
[project] | ||
name = "pyproj" | ||
version = "3.4.0.dev0" | ||
description = "Python interface to PROJ (cartographic projections and coordinate transformations library)" | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Jeff Whitaker", email = "jeffrey.s.whitaker@noaa.gov"}, | ||
] | ||
license = {file = "LICENSE"} | ||
keywords = [ | ||
"GIS", | ||
"map", | ||
"geospatial", | ||
"coordinate-systems", | ||
"coordinate-transformation", | ||
"cartographic-projection", | ||
"geodesic", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independe", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: GIS", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Typing :: Typed", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"certifi", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://pyproj4.github.io/pyproj/" | ||
documentation = "https://pyproj4.github.io/pyproj/" | ||
repository = "https://github.com/pyproj4/pyproj" | ||
changelog = "https://pyproj4.github.io/pyproj/stable/history.html" | ||
|
||
[project.scripts] | ||
pyproj = "pyproj.__main__:main" | ||
|
||
[tool.setuptools.packages.find] | ||
include = [ | ||
"pyproj", | ||
"pyproj.*", | ||
] | ||
|
||
[tool.black] | ||
target_version = ['py38'] | ||
target_version = ["py38"] |
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