Skip to content

Commit

Permalink
Deployment update
Browse files Browse the repository at this point in the history
  • Loading branch information
louisbrulenaudet committed Aug 8, 2024
1 parent 41ba45b commit 3b6cbf0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 29 deletions.
64 changes: 36 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ classifiers = [
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.7"
license = { text = "Apache License 2.0" }
authors = [
{ name = "Louis Brulé Naudet", email = "[email protected]" }
]

[build-system]
requires = ["setuptools", "wheel"]
Expand All @@ -30,7 +25,6 @@ install_requires = [
"beautifulsoup4==4.12.3",
"datasets==2.20.0",
"faiss_cpu==1.8.0",
"flash-attn==2.6.3",
"google_api_python_client==2.126.0",
"groq==0.9.0",
"httpx==0.27.0",
Expand All @@ -55,28 +49,6 @@ install_requires = [
"usearch==2.12.0"
]

[project.optional-dependencies]
docs = [
"sphinx>=6.0.0",
"sphinx-book-theme>=1.0.1",
"sphinxcontrib-katex",
"sphinx-autodoc-typehints",
"ipython>=8.8.0",
"myst-nb>=1.0.0",
"myst-parser",
"matplotlib>=3.5.0",
"sphinx_book_theme==1.1.3",
"sphinx-gallery>=0.14.0",
"sphinx-collections>=0.0.1",
"tensorflow>=2.4.0",
"tensorflow-datasets>=4.2.0",
"flax",
"sphinx_contributors",
]

[tool.env]
PYTHONPATH = "src"

[tool.pytest.ini_options]
testpaths = [
"tests"
Expand All @@ -102,3 +74,39 @@ max-line-length = 88
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"

[project.optional-dependencies]
docs = [
"sphinx>=6.0.0",
"sphinx-book-theme>=1.0.1", # Older versions fail to pin pydata-sphinx-theme
"sphinxcontrib-katex",
"sphinx-autodoc-typehints",
"ipython>=8.8.0", # 8.7.0 has ipython3 lexer error
"myst-nb>=1.0.0",
"myst-parser",
"matplotlib>=3.5.0",
"sphinx_book_theme==1.1.3",
"sphinx-gallery>=0.14.0",
"sphinx-collections>=0.0.1",
"tensorflow>=2.4.0",
"tensorflow-datasets>=4.2.0",
"flax",
"sphinx_contributors",
]

[tool.env]
PYTHONPATH = "src"

[metadata]
name = "ragoon"
version = "0.0.4"
license = "Apache License 2.0"
author = "Louis Brulé Naudet"
author_email = "[email protected]"
description = "RAGoon : High level library for batched embeddings generation, blazingly-fast web-based RAG and quantitized indexes processing"
long_description = "file: README.md"
long_description_content_type = "text/markdown"
url = "https://github.com/louisbrulenaudet/ragoon"
homepage = "https://github.com/louisbrulenaudet/ragoon"
project_urls = {repository = "https://github.com/louisbrulenaudet/ragoon"}
keywords = "language-models retrieval web-scraping few-shot-learning nlp machine-learning ai llama generative-ai groqapi groq rag retrieval-augmented-generation"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"sphinx_contributors",
]
},
python_requires=">=3.7",
include_package_data=True,
zip_safe=False,
entry_points={
Expand Down

0 comments on commit 3b6cbf0

Please sign in to comment.