diff --git a/pyproject.toml b/pyproject.toml index 53bf2e7..adc30c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling","hatch-requirements-txt"] build-backend = "hatchling.build" [project] name = "esxport" -dynamic = ["version"] +dynamic = ["version","dependencies"] description = "An adept Python CLI utility designed for querying Elasticsearch and exporting result as a CSV file." readme = {file = "README.md", content-type = "text/markdown"} requires-python = ">=3.8" @@ -37,16 +37,14 @@ classifiers = [ "Topic :: Text Processing", "Topic :: Utilities", ] -dependencies = [ - "click-params==0.4.1", - "click==8.1.7", - "elasticsearch==8.10.0", - "loguru==0.7.2", - "tqdm==4.66.1", -] +[tool.hatch.metadata] +allow-direct-references = true +[tool.hatch.metadata.hooks.requirements_txt] +files = ["requirements.txt"] [project.urls] Homepage = "https://github.com/nikhilbadyal/esxport" +"Bug Tracker"="https://github.com/nikhilbadyal/esxport/issues" Repository = "https://github.com/nikhilbadyal/esxport.git" [project.scripts] esxport = "esxport.esxport_cli:cli"