Skip to content

Commit

Permalink
#316 - Switch to using plain pyproject.toml
Browse files Browse the repository at this point in the history
- Move dependenceis into pyproject.toml
  • Loading branch information
reckart committed May 7, 2024
1 parent f4cd15f commit 473e3d6
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 99 deletions.
33 changes: 28 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ build-backend = "setuptools.build_meta"
[project]
name = "dkpro-cassis"
version = "0.10.0-dev"
dynamic = ["dependencies", "optional-dependencies"]
requires-python = ">=3.8"
authors = [ { name = "The DKPro cassis team" } ]
maintainers = [ { name = "Richard Eckart de Castilho" } ]
Expand All @@ -27,11 +26,35 @@ classifiers = [
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Text Processing :: Linguistic"
]
dependencies = [
"lxml~=4.9.1",
"attrs>=21.2,<24",
"sortedcontainers~=2.4",
"toposort~=1.7",
"more-itertools~=8.12",
"deprecation~=2.1",
"importlib_resources~=5.4"
]

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.in"] }
optional-dependencies.dev = { file = ["requirements-dev.in"] }
optional-dependencies.doc = { file = ["requirements-dev.in"] }
[project.optional-dependencies]
dev = [
"pytest~=7.2",
"tox~=3.24",
"lxml-asserts~=0.1",
"pytest-lazy-fixture~=0.6",
"pytest-cov~=3.0",
"codecov~=2.1",
"rstcheck~=3.3",
"docutils~=0.20,!=0.21.*",
"ruff~=0.4.3",
"pip-tools~=7.4.1"
]
doc = [
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"docutils~=0.20,!=0.21.*"
]

[project.urls]
Homepage = "https://dkpro.github.io"
Expand Down
10 changes: 0 additions & 10 deletions requirements-dev.in

This file was deleted.

4 changes: 0 additions & 4 deletions requirements-doc.in

This file was deleted.

115 changes: 42 additions & 73 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,113 +4,82 @@
#
# pip-compile --extra=doc --output-file=requirements-doc.txt pyproject.toml
#
alabaster==0.7.16
# via sphinx
attrs==23.2.0
# via dkpro-cassis (pyproject.toml)
build==1.2.1
# via pip-tools
babel==2.15.0
# via sphinx
certifi==2024.2.2
# via requests
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via pip-tools
codecov==2.1.13
# via dkpro-cassis (pyproject.toml)
coverage[toml]==7.5.1
# via
# codecov
# pytest-cov
deprecation==2.1.0
# via dkpro-cassis (pyproject.toml)
distlib==0.3.8
# via virtualenv
docutils==0.20.1
# via
# dkpro-cassis (pyproject.toml)
# rstcheck
exceptiongroup==1.2.1
# via pytest
filelock==3.14.0
# via
# tox
# virtualenv
# sphinx
# sphinx-rtd-theme
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.1.0
# via build
# via sphinx
importlib-resources==5.13.0
# via dkpro-cassis (pyproject.toml)
iniconfig==2.0.0
# via pytest
jinja2==3.1.4
# via sphinx
lxml==4.9.4
# via
# dkpro-cassis (pyproject.toml)
# lxml-asserts
lxml-asserts==0.1.2
# via dkpro-cassis (pyproject.toml)
markupsafe==2.1.5
# via jinja2
more-itertools==8.14.0
# via dkpro-cassis (pyproject.toml)
packaging==24.0
# via
# build
# deprecation
# pytest
# tox
pip-tools==7.4.1
# sphinx
pygments==2.18.0
# via sphinx
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sortedcontainers==2.4.0
# via dkpro-cassis (pyproject.toml)
platformdirs==4.2.1
# via virtualenv
pluggy==1.5.0
# via
# pytest
# tox
py==1.11.0
# via tox
pyproject-hooks==1.1.0
# via
# build
# pip-tools
pytest==7.4.4
sphinx==7.3.7
# via
# dkpro-cassis (pyproject.toml)
# pytest-cov
# pytest-lazy-fixture
pytest-cov==3.0.0
# via dkpro-cassis (pyproject.toml)
pytest-lazy-fixture==0.6.3
# via dkpro-cassis (pyproject.toml)
requests==2.31.0
# via codecov
rstcheck==3.5.0
# sphinx-autodoc-typehints
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-autodoc-typehints==2.1.0
# via dkpro-cassis (pyproject.toml)
ruff==0.4.3
# via dkpro-cassis (pyproject.toml)
six==1.16.0
# via tox
sortedcontainers==2.4.0
sphinx-rtd-theme==2.0.0
# via dkpro-cassis (pyproject.toml)
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
tomli==2.0.1
# via
# build
# coverage
# pip-tools
# pytest
# tox
# via sphinx
toposort==1.10
# via dkpro-cassis (pyproject.toml)
tox==3.28.0
# via dkpro-cassis (pyproject.toml)
urllib3==2.2.1
# via requests
virtualenv==20.26.1
# via tox
wheel==0.43.0
# via pip-tools
zipp==3.18.1
# via
# importlib-metadata
# importlib-resources

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
7 changes: 0 additions & 7 deletions requirements.in

This file was deleted.

0 comments on commit 473e3d6

Please sign in to comment.