2022-06-29 14:35:19 -04:00
|
|
|
"""
|
|
|
|
setup.py
|
|
|
|
|
|
|
|
unstructured - pre-processing tools for unstructured data
|
|
|
|
|
|
|
|
Copyright 2022 Unstructured Technologies, Inc.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
from unstructured.__version__ import __version__
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="unstructured",
|
|
|
|
description="A library that prepares raw documents for downstream ML tasks.",
|
2022-11-08 15:22:43 -06:00
|
|
|
long_description=open("README.md", "r", encoding="utf-8").read(),
|
|
|
|
keywords="NLP PDF HTML CV XML parsing preprocessing",
|
|
|
|
url="https://github.com/Unstructured-IO/unstructured",
|
|
|
|
python_requires=">=3.8.0",
|
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Education",
|
|
|
|
"Intended Audience :: Science/Research",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
],
|
2022-06-29 14:35:19 -04:00
|
|
|
author="Unstructured Technologies",
|
|
|
|
author_email="devops@unstructuredai.io",
|
|
|
|
license="Apache-2.0",
|
|
|
|
packages=find_packages(),
|
|
|
|
version=__version__,
|
|
|
|
entry_points={},
|
|
|
|
install_requires=[
|
|
|
|
"lxml",
|
|
|
|
"nltk",
|
|
|
|
],
|
2022-10-13 11:18:27 -04:00
|
|
|
extras_require={
|
|
|
|
"pdf": ["layoutparser[layoutmodels,tesseract]"],
|
|
|
|
"huggingface": ["transformers"],
|
|
|
|
},
|
2022-06-29 14:35:19 -04:00
|
|
|
)
|