forked from TutteInstitute/toponymy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.cfg and setup.py with pyproject.toml
Specify dev dependencies for testing with pytest. setup.cfg will be deprecated in the future. pypa/setuptools#3214
- Loading branch information
1 parent
71b95f4
commit f80a53e
Showing
3 changed files
with
58 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "toponymy" | ||
version = "0.1.0" | ||
authors = [{name = "John Healy", email = "[email protected]"}] | ||
maintainers = [{name = "John Healy", email = "[email protected]"}] | ||
description = "A library for using large language models to name topics" | ||
readme = "README.rst" | ||
keywords = ["topic modeling", "representation", "cluster", "clustering", "large language models", "LLM", "topic naming"] | ||
license = {text = "MIT License"} | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Development Status :: 4 - Beta", | ||
"Operating System :: OS Independent", | ||
] | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"numpy>=1.21", | ||
"pandas>=1.0", | ||
"numba>=0.56", | ||
"datasets", | ||
"scikit-learn", | ||
"vectorizers", | ||
"scipy", | ||
"fast_hdbscan", | ||
"sentence_transformers", | ||
"dataclasses", | ||
"tqdm", | ||
] | ||
optional-dependencies.dev = [ | ||
"black", | ||
"isort", | ||
"pylint", | ||
"pytest", | ||
"anthropic", | ||
"cohere", | ||
"llama-cpp-python", | ||
"openai", | ||
] | ||
|
||
|
||
[project.urls] | ||
Homepage = "https://github.com/TutteInstitute/toponymy" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
packages = ["toponymy"] | ||
# extras_require = { | ||
# 'gpu': ['CMAKE_ARGS="-DLLAMA_CUDA=on" pip install llama-cpp-python'], | ||
# 'cpu': ['CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" llama-cpp-python'] | ||
# } | ||
license-files = ["LICENSE"] | ||
include-package-data = false |