-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update __init__.py * Update pyproject.toml * fmt with black * add poetry * update checkout * update poetry lock * update: release pipeline * add setup * rm setup * rm 3.10 * update: release pipeline
- Loading branch information
1 parent
f62bdd2
commit da370f3
Showing
8 changed files
with
2,518 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
[tool.poetry] | ||
name = "hf_hub_ctranslate2" | ||
version = "2.13.0" | ||
description = "Connecting Transfromers on HuggingfaceHub with Ctranslate2." | ||
authors = ["michaelfeil <mail at michaelfeil.eu>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
packages = [{include = "hf_hub_ctranslate2"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.13" | ||
numpy = "*" | ||
ctranslate2 = ">=3.16.0" | ||
transformers = ">=4.28.0" | ||
huggingface-hub = "*" | ||
sentence_transformers = {version="2.2.2", optional=true} | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest= "6.2.5" | ||
pytest-ordering = "0.6" | ||
Sphinx = "5.*" | ||
sphinx-rtd-theme = "1.0.0" | ||
coverage = "6.2" | ||
flake8 = "*" | ||
pre-commit = "*" | ||
myst-parser = {version="1.*",extras=["sphinx"]} | ||
mkdocs = "*" | ||
sentencepiece = "*" | ||
typing_extensions = "*" | ||
|
||
[tool.poetry.extras] | ||
sentence_transformers=["sentence_transformers"] | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=60", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters