Skip to content

Commit d5c79c3

Browse files
committed
build: switch to pyproject.toml
1 parent 153d919 commit d5c79c3

4 files changed

Lines changed: 53 additions & 113 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
python -m pip install -r requirements.txt
2827
python -m pip install -e .[all]
2928
3029
- name: Run tests

pyproject.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "tika"
7+
description = "Apache Tika Python library"
8+
readme = "README.md"
9+
authors = [
10+
{name = "Chris Mattmann", email = "chris.a.mattmann@jpl.nasa.gov"}
11+
]
12+
license = "Apache-2.0"
13+
keywords = ["tika", "digital", "babel fish", "apache"]
14+
classifiers = [
15+
"Development Status :: 3 - Alpha",
16+
"Environment :: Console",
17+
"Intended Audience :: Developers",
18+
"Intended Audience :: Information Technology",
19+
"Intended Audience :: Science/Research",
20+
"Operating System :: OS Independent",
21+
"Programming Language :: Python",
22+
"Topic :: Database :: Front-Ends",
23+
"Topic :: Scientific/Engineering",
24+
"Topic :: Software Development :: Libraries :: Python Modules",
25+
]
26+
requires-python = ">=3.9"
27+
dependencies = [
28+
"requests",
29+
]
30+
dynamic = ["version"]
31+
32+
[project.optional-dependencies]
33+
all = [
34+
"tika[tests]",
35+
]
36+
tests = [
37+
"beautifulsoup4==4.13.3",
38+
"memory-profiler>=0.57.0",
39+
"pytest-benchmark>=3.2.2",
40+
"python-coveralls",
41+
"pytest-cov<2.6",
42+
]
43+
44+
[project.urls]
45+
homepage = "http://github.com/chrismattmann/tika-python"
46+
repository = "http://github.com/chrismattmann/tika-python"
47+
48+
[project.scripts]
49+
tika-python = "tika.tika:main"
50+
51+
[tool.setuptools.packages.find]
52+
include = ["tika*",]
53+
exclude = ["tika.tests*"]

requirements.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)