mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
python: README and project links for PyPI listing (#1964)
Signed-off-by: Simon Willison <swillison@gmail.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
6fdec808b2
commit
f2024a1f9e
@ -1,5 +1,6 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
|
import pathlib
|
||||||
import platform
|
import platform
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
@ -59,13 +60,25 @@ copy_prebuilt_C_lib(SRC_CLIB_DIRECTORY,
|
|||||||
DEST_CLIB_DIRECTORY,
|
DEST_CLIB_DIRECTORY,
|
||||||
DEST_CLIB_BUILD_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(
|
setup(
|
||||||
name=package_name,
|
name=package_name,
|
||||||
version="2.2.1",
|
version="2.2.1.post1",
|
||||||
description="Python bindings for GPT4All",
|
description="Python bindings for GPT4All",
|
||||||
|
long_description=get_long_description(),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author="Nomic and the Open Source Community",
|
author="Nomic and the Open Source Community",
|
||||||
author_email="support@nomic.ai",
|
author_email="support@nomic.ai",
|
||||||
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 = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
|
Loading…
Reference in New Issue
Block a user