Add gz and markdown to the package_data
This commit is contained in:
parent
c54dedd739
commit
4ee1ad2994
8
setup.py
8
setup.py
|
@ -9,18 +9,22 @@ extras_require={
|
||||||
'cuda': ['cudatoolkit==11.0'],
|
'cuda': ['cudatoolkit==11.0'],
|
||||||
'dev': ['pytest']
|
'dev': ['pytest']
|
||||||
}
|
}
|
||||||
|
package_data = [str(x) for x in list(Path('clip').rglob("*.gz"))]
|
||||||
|
package_data.extend([str(x) for x in list(Path('clip').rglob("*.md"))])
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='clip_by_openai',
|
name='clip_by_openai',
|
||||||
version='0.1.0',
|
version='0.1.0',
|
||||||
author="OpenAI",
|
author="OpenAI (Packaged by Vector AI)",
|
||||||
author_email="dev@vctr.ai",
|
author_email="dev@vctr.ai",
|
||||||
description="CLIP by OpenAI",
|
description="CLIP by OpenAI",
|
||||||
long_description=open("README.md", "r", encoding="utf-8").read(),
|
long_description=open("README.md", "r", encoding="utf-8").read(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
keywords="vector, embeddings, machinelearning, ai, artificialintelligence, nlp, pytorch, nearestneighbors, search, analytics, clustering, dimensionalityreduction",
|
keywords="vector, embeddings, machinelearning, ai, artificialintelligence, nlp, pytorch, nearestneighbors, search, analytics, clustering, dimensionalityreduction",
|
||||||
license="Apache",
|
license="MIT",
|
||||||
packages=find_packages(exclude=["tests*"]),
|
packages=find_packages(exclude=["tests*"]),
|
||||||
|
package_data={'vectorhub': package_data},
|
||||||
|
include_package_data=True,
|
||||||
python_requires=">=3",
|
python_requires=">=3",
|
||||||
install_requires=core_req,
|
install_requires=core_req,
|
||||||
extras_require=extras_require,
|
extras_require=extras_require,
|
||||||
|
|
Loading…
Reference in New Issue