-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move project metadata to pyproject.toml; add build-backend
- Loading branch information
Showing
7 changed files
with
90 additions
and
102 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,84 @@ | ||
[build-system] | ||
requires = [ | ||
"cython>=0.29.29", | ||
"Cython~=0.29", | ||
"oldest-supported-numpy", | ||
"setuptools", | ||
"wheel", | ||
"setuptools>=61", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "Fiona" | ||
dynamic = ["readme", "version"] | ||
authors = [ | ||
{name = "Sean Gillies"}, | ||
] | ||
maintainers = [ | ||
{name = "Fiona contributors"}, | ||
] | ||
description = "Fiona reads and writes spatial data files" | ||
keywords = ["gis", "vector", "feature", "data"] | ||
license = {text = "BSD 3-Clause"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering :: GIS", | ||
] | ||
|
||
requires-python = ">=3.7" | ||
dependencies = [ | ||
"attrs>=19.2.0", | ||
"certifi", | ||
"click~=8.0", | ||
"click-plugins>=1.0", | ||
"cligj>=0.5", | ||
"munch>=2.3.2", | ||
] | ||
|
||
[project.optional-dependencies] | ||
all = ["Fiona[calc,s3,test]"] | ||
calc = ["shapely"] | ||
s3 = ["boto3>=1.3.1"] | ||
test = [ | ||
"Cython~=0.29", | ||
"Fiona[s3]", | ||
"pytest>=7", | ||
"pytest-cov", | ||
"pytz", | ||
] | ||
|
||
[project.scripts] | ||
fio = "fiona.fio.main:main_group" | ||
|
||
[project.entry-points."fiona.fio_commands"] | ||
bounds = "fiona.fio.bounds:bounds" | ||
calc = "fiona.fio.calc:calc" | ||
cat = "fiona.fio.cat:cat" | ||
collect = "fiona.fio.collect:collect" | ||
distrib = "fiona.fio.distrib:distrib" | ||
dump = "fiona.fio.dump:dump" | ||
env = "fiona.fio.env:env" | ||
filter = "fiona.fio.filter:filter" | ||
info = "fiona.fio.info:info" | ||
insp = "fiona.fio.insp:insp" | ||
load = "fiona.fio.load:load" | ||
ls = "fiona.fio.ls:ls" | ||
rm = "fiona.fio.rm:rm" | ||
|
||
[project.urls] | ||
Documentation = "https://fiona.readthedocs.io/" | ||
Repository = "https://github.com/Toblerity/Fiona" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["fiona", "fiona.*"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "fiona.__version__"} | ||
readme = {file = ["README.rst", "CHANGES.txt", "CREDITS.txt"]} |
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,8 +1,8 @@ | ||
-r requirements.txt | ||
boto3>=1.3.1 | ||
coverage==5.2.1 | ||
coverage~=6.5 | ||
cython~=0.29 | ||
pytest==6.2.5 | ||
pytest-cov==2.12.1 | ||
pytz==2020.1 | ||
pytest~=7.2 | ||
pytest-cov~=4.0 | ||
pytz==2022.6 | ||
wheel |
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 |
---|---|---|
|
@@ -3,5 +3,5 @@ click~=8.0 | |
click-plugins | ||
cligj>=0.5.0 | ||
munch>=2.3.2 | ||
setuptools>=49.0 | ||
setuptools>=61.0 | ||
certifi |
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