Skip to content

Commit

Permalink
use a separate requirements file for dev packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 15, 2024
1 parent cc1319d commit 82ce54a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
23 changes: 18 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "web-search"
name = "async-web-search"
requires-python = ">=3.9"
version = "0.1.0"
authors = [
{ name="Chukwuma", email="chuks.@veedo.ai" },
]
description = "Async web search library supporting Google, Wikipedia, and arXiv"

readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
authors = [
{ name="Chukwuma" },
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"asyncio",
Expand All @@ -28,6 +32,15 @@ dependencies = [
"Homepage" = "https://github.com/nwaughachukwuma/web-search"
"Bug Tracker" = "https://github.com/nwaughachukwuma/web-search/issues"

[tool.hatch.build]
include = [
"src/**/*.py",
"LICENSE",
"README.md"
]

[tool.hatch.build.targets.wheel]
packages = ["src/web_search"]

[tool.ruff]
line-length = 120
Expand Down
3 changes: 3 additions & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# dev requirements
ruff
pytest
5 changes: 1 addition & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ httpx
wikipedia
lxml
beautifulsoup4
python-dotenv

# dev requirements
ruff
python-dotenv

0 comments on commit 82ce54a

Please sign in to comment.