Skip to content

Commit

Permalink
fix: some direct dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Feb 13, 2024
1 parent b390f00 commit e301ea8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ dependencies = [
]

[project.optional-dependencies]
all = [".[retrieval,eval]"]
all = ["fanoutqa[retrieval,eval]"]

retrieval = [
"rank-bm25~=0.2.2",
]

eval = [
"rouge-score~=0.1.2",
"git+https://github.com/google-research/bleurt.git@master",
"bleurt @ git+https://github.com/google-research/bleurt.git@master",
]

[project.urls]
Expand All @@ -60,3 +60,6 @@ known_first_party = ["fanoutqa"]
no_lines_before = "LOCALFOLDER"
reverse_relative = true
combine_as_imports = true

[tool.hatch.metadata]
allow-direct-references = true
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dev requirements -- to just install the package from source, use pip install .
# include the main package deps
-e .
-e .[all]

# devtools
black
Expand Down

0 comments on commit e301ea8

Please sign in to comment.