Skip to content

MAINT: move generic project settings to pyproject.toml #469

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

Merged
merged 5 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@ requires = [
"tomli; python_version < '3.11'",
]

[project]
name = "pyogrio"
dynamic = ["version"]
authors = [{ name = "Brendan C. Ward", email = "bcward@astutespruce.com" }]
maintainers = [{ name = "pyogrio contributors" }]
license = { text = "MIT License" }
description = "Vectorized spatial vector file format I/O using GDAL/OGR"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.8"
dependencies = ["certifi", "numpy", "packaging"]

[project.optional-dependencies]
dev = ["cython"]
test = ["pytest", "pytest-cov"]
benchmark = ["pytest-benchmark"]
geopandas = ["geopandas"]

[project.urls]
Home = "https://pyogrio.readthedocs.io/"
Repository = "https://github.com/geopandas/pyogrio"

[tool.cibuildwheel]
skip = ["cp36-*", "cp37-*", "pp*", "*musllinux*"]
archs = ["auto64"]
Expand Down
16 changes: 0 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,24 +202,8 @@ def get_gdal_config():
cmdclass["build_ext"] = build_ext

setup(
name="pyogrio",
version=version,
packages=find_packages(),
url="https://github.com/geopandas/pyogrio",
license="MIT",
author="Brendan C. Ward",
author_email="bcward@astutespruce.com",
description="Vectorized spatial vector file format I/O using GDAL/OGR",
long_description_content_type="text/markdown",
long_description=open("README.md").read(),
python_requires=">=3.8",
install_requires=["certifi", "numpy", "packaging"],
extras_require={
"dev": ["Cython"],
"test": ["pytest", "pytest-cov"],
"benchmark": ["pytest-benchmark"],
"geopandas": ["geopandas"],
},
include_package_data=True,
exclude_package_data={'': ['*.h', '_*.pxd', '_*.pyx']},
cmdclass=cmdclass,
Expand Down
Loading