Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Use setup.cfg for metadata instead of pyproject.toml #1137

Merged
merged 1 commit into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 0 additions & 55 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,5 @@
requires = ["setuptools>=61.0.0", "wheel", "cython>=0.28.4"]
build-backend = "setuptools.build_meta"

[project]
name = "pyproj"
version = "3.4.0rc1"
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 Independent",
"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"]
53 changes: 53 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[metadata]
name = pyproj
version = 3.4.0rc2
description = Python interface to PROJ (cartographic projections and coordinate transformations library)
long_description = file: README.md
long_description_content_type = text/markdown
author = Jeff Whitaker
author_email = jeffrey.s.whitaker@noaa.gov
license = MIT
license_file = LICENSE
platform = any
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 Independent
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: GIS
Topic :: Scientific/Engineering :: Mathematics
Topic :: Software Development :: Libraries :: Python Modules
Typing :: Typed
url = https://github.com/pyproj4/pyproj
download_url = http://python.org/pypi/pyproj
project_urls =
Documentation = https://pyproj4.github.io/pyproj/
Release Notes = https://pyproj4.github.io/pyproj/stable/history.html
Bug Tracker = https://github.com/pyproj4/pyproj/issues
Source Code = https://github.com/pyproj4/pyproj

[options]
zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
packages = pyproj,pyproj.crs
python_requires = >=3.8
install_requires =
certifi

[options.entry_points]
console_scripts =
pyproj = pyproj.__main__:main

[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