1
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
5
# You may obtain a copy of the License at
7
# http://www.apache.org/licenses/LICENSE-2.0
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
19
description = "Paddle-Pipelines: An End to End Natural Language Proceessing Development Kit Based on PaddleNLP"
21
with open("requirements.txt") as fin:
22
REQUIRED_PACKAGES = fin.read()
25
def read(*names, **kwargs):
26
with io.open(os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")) as fp:
31
name="paddle-pipelines",
32
version=read("VERSION"),
33
author="PaddlePaddle Speech and Language Team",
34
author_email="paddlenlp@baidu.com",
35
description=description,
36
long_description=read("README.md"),
37
long_description_content_type="text/markdown",
38
url="https://github.com/PaddlePaddle/PaddleNLP",
39
packages=setuptools.find_packages(where=".", exclude=("examples*", "tests*", "docs*", "ui*", "rest_api*")),
40
setup_requires=["cython", "numpy"],
41
install_requires=REQUIRED_PACKAGES,
42
python_requires=">=3.7",
44
"Programming Language :: Python :: 3",
45
"Programming Language :: Python :: 3.7",
46
"Programming Language :: Python :: 3.8",
47
"Programming Language :: Python :: 3.9",
48
"Programming Language :: Python :: 3.10",
49
"License :: OSI Approved :: Apache Software License",
50
"Operating System :: OS Independent",