paddlenlp

Форк
0
/
setup.py 
53 строки · 1.9 Кб
1
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2
#
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
6
#
7
#     http://www.apache.org/licenses/LICENSE-2.0
8
#
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.
14
import io
15
import os
16

17
import setuptools
18

19
description = "Paddle-Pipelines: An End to End Natural Language Proceessing Development Kit Based on PaddleNLP"
20

21
with open("requirements.txt") as fin:
22
    REQUIRED_PACKAGES = fin.read()
23

24

25
def read(*names, **kwargs):
26
    with io.open(os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")) as fp:
27
        return fp.read()
28

29

30
setuptools.setup(
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",
43
    classifiers=[
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",
51
    ],
52
    license="Apache 2.0",
53
)
54

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.