File size: 1,966 Bytes
5839973
 
 
 
 
 
 
e23a2a1
 
5839973
 
 
e23a2a1
 
 
5839973
 
98cb1cd
 
 
 
5839973
 
 
 
 
 
 
07a557f
ccb6bb2
5839973
 
98cb1cd
5839973
 
 
 
 
e23a2a1
5839973
 
 
 
815b0dc
5839973
 
c2fd2d2
98cb1cd
5839973
 
 
 
 
 
c2fd2d2
5839973
 
98cb1cd
 
 
 
 
 
 
 
 
 
5839973
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# coding=utf-8
# Copyright 2022 Hugging Face Inc
#
# Lint as: python3
# pylint: enable=line-too-long
"""Hugging Face Competitions
"""
import os

from setuptools import find_packages, setup


this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
    LONG_DESCRIPTION = f.read()

QUALITY_REQUIRE = [
    "black~=23.0",
    "isort==5.13.2",
    "flake8==7.0.0",
    "mypy==1.8.0",
]

TEST_REQUIRE = ["pytest", "pytest-cov"]

EXTRAS_REQUIRE = {
    "dev": QUALITY_REQUIRE,
    "quality": QUALITY_REQUIRE,
    "test": QUALITY_REQUIRE + TEST_REQUIRE,
    "docs": QUALITY_REQUIRE + TEST_REQUIRE + ["hf-doc-builder"],
}

with open("requirements.txt", encoding="utf-8") as f:
    INSTALL_REQUIRES = f.read().splitlines()

setup(
    name="competitions",
    description="Hugging Face Competitions",
    long_description=LONG_DESCRIPTION,
    author="HuggingFace Inc.",
    url="https://github.com/huggingface/competitions",
    download_url="https://github.com/huggingface/competitions/tags",
    packages=find_packages("."),
    entry_points={"console_scripts": ["competitions=competitions.cli.competitions:main"]},
    install_requires=INSTALL_REQUIRES,
    extras_require=EXTRAS_REQUIRE,
    python_requires=">=3.10",
    license="Apache 2.0",
    classifiers=[
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3.10",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
    ],
    keywords="huggingface competitions machine learning ai nlp tabular",
    data_files=[
        (
            "templates",
            [
                "competitions/templates/index.html",
            ],
        ),
    ],
    include_package_data=True,
)