Skip to content

Commit 821ecdf

Browse files
committed
Adjust build
1 parent ad9e09b commit 821ecdf

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

mise.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ _.file = ".env.local"
55
_.python.venv = { path = ".venv", create = true }
66

77
[tasks]
8+
install-dev = "pip install -r requirements.txt && pip install -r test-requirements.txt && pip install build"
89
test = "pytest"
910
test-cov = "pytest --cov=detectlanguage --cov-report=term-missing"
1011
test-verbose = "pytest -v"
11-
install-dev = "pip install -r requirements.txt && pip install -r test-requirements.txt"
1212
console = "python -c \"import detectlanguage; import code; code.interact(local=locals())\""
13+
build = "python3 -m build"

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[metadata]
2-
description-file = README.md
3-
2+
description_file = README.md

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
download_url = 'https://github.com/detectlanguage/detectlanguage-python',
2020
keywords = ['language', 'identification', 'detection', 'api', 'client'],
2121
install_requires= ['requests>=2.4.2'],
22-
test_requires= ['pytest>=7.0.0', 'pytest-mock>=3.10.0', 'pytest-cov>=4.0.0'],
2322
classifiers = [],
2423
license = 'MIT',
2524
)

0 commit comments

Comments
 (0)