diff --git a/requirements.txt b/requirements.txt index 6125201..0b076c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,5 @@ -frictionless>=3.23.4 +frictionless[json]>=3.23.4 shortuuid>=1.0.1 cdxj-indexer>=1.4.4 boilerpy3>=1.0.2 -pytest-cov>=2.10.1 PyYAML>=5.3.1 -black>=20.8b1 -jsonlines>=3.0.0 -click>=8.0.0 -typer==0.11.1 diff --git a/setup.py b/setup.py index 14ad5ac..98d6126 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,11 @@ def long_description(): long_description=long_description(), long_description_content_type="text/markdown", install_requires=load_requirements("requirements.txt"), - extras_require={"signing": ["authsign>=0.5.1", "requests"]}, + extras_require={ + "signing": ["authsign>=0.5.1", "requests"], + "dev": ["black"], + "test": ["pytest", "pytest-cov>=2.10.1"], + }, zip_safe=True, setup_requires=["pytest-runner"], entry_points=""" diff --git a/tests/test_optional_flags_wacz.py b/tests/test_optional_flags_wacz.py index 5ecc714..56540ec 100644 --- a/tests/test_optional_flags_wacz.py +++ b/tests/test_optional_flags_wacz.py @@ -5,7 +5,6 @@ from wacz.main import main, now from wacz.util import hash_file from unittest.mock import patch -import jsonlines TEST_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "fixtures") PAGES_DIR = os.path.join(TEST_DIR, "pages")