mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-01 03:16:23 +02:00
Migrate from setup.py to pyproject.toml (#440)
* Converted setup.py to pyproject.toml * Modern package infrastructure as recommended by py docs
This commit is contained in:
parent
d83e4e3d59
commit
98022d6af4
145 changed files with 561 additions and 1159 deletions
43
trustgraph-embeddings-hf/pyproject.toml
Normal file
43
trustgraph-embeddings-hf/pyproject.toml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "trustgraph-embeddings-hf"
|
||||
dynamic = ["version"]
|
||||
authors = [{name = "trustgraph.ai", email = "security@trustgraph.ai"}]
|
||||
description = "HuggingFace embeddings support for TrustGraph."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [
|
||||
"trustgraph-base>=1.2,<1.3",
|
||||
"trustgraph-flow>=1.2,<1.3",
|
||||
"torch",
|
||||
"urllib3",
|
||||
"transformers",
|
||||
"sentence-transformers",
|
||||
"langchain",
|
||||
"langchain-core",
|
||||
"langchain-huggingface",
|
||||
"langchain-community",
|
||||
"huggingface-hub",
|
||||
"pulsar-client",
|
||||
"pyyaml",
|
||||
"prometheus-client",
|
||||
]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/trustgraph-ai/trustgraph"
|
||||
|
||||
[project.scripts]
|
||||
embeddings-hf = "trustgraph.embeddings.hf:run"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["trustgraph*"]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "trustgraph.embeddings_hf_version.__version__"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue