forked from nomic-ai/gpt4all
-
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.
python: README and project links for PyPI listing (nomic-ai#1964)
Signed-off-by: Simon Willison <[email protected]> Signed-off-by: Jared Van Bortel <[email protected]> Co-authored-by: Jared Van Bortel <[email protected]>
- Loading branch information
1 parent
6fdec80
commit f2024a1
Showing
1 changed file
with
15 additions
and
2 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
import pathlib | ||
import platform | ||
import shutil | ||
|
||
|
@@ -59,13 +60,25 @@ def copy_prebuilt_C_lib(src_dir, dest_dir, dest_build_dir): | |
DEST_CLIB_DIRECTORY, | ||
DEST_CLIB_BUILD_DIRECTORY) | ||
|
||
|
||
def get_long_description(): | ||
with open(pathlib.Path(__file__).parent / "README.md", encoding="utf-8") as fp: | ||
return fp.read() | ||
|
||
|
||
setup( | ||
name=package_name, | ||
version="2.2.1", | ||
version="2.2.1.post1", | ||
description="Python bindings for GPT4All", | ||
long_description=get_long_description(), | ||
long_description_content_type="text/markdown", | ||
author="Nomic and the Open Source Community", | ||
author_email="[email protected]", | ||
url="https://pypi.org/project/gpt4all/", | ||
url="https://gpt4all.io/", | ||
project_urls={ | ||
"Documentation": "https://docs.gpt4all.io/gpt4all_python.html", | ||
"Source code": "https://github.com/nomic-ai/gpt4all/tree/main/gpt4all-bindings/python", | ||
}, | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
|