forked from abhishekkrthakur/diffuzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (54 loc) · 1.65 KB
/
setup.py
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
# Lint as: python3
# pylint: enable=line-too-long
"""Hugging Face Competitions
"""
from setuptools import find_packages, setup
with open("README.md") as f:
long_description = f.read()
QUALITY_REQUIRE = [
"black~=22.0",
"isort==5.8.0",
"flake8==3.9.2",
"mypy==0.901",
]
TEST_REQUIRE = ["pytest", "pytest-cov"]
EXTRAS_REQUIRE = {
"dev": QUALITY_REQUIRE,
"quality": QUALITY_REQUIRE,
"test": TEST_REQUIRE,
"docs": [
"recommonmark",
"sphinx==3.1.2",
"sphinx-markdown-tables",
"sphinx-rtd-theme==0.4.3",
"sphinx-copybutton",
],
}
with open("requirements.txt") as f:
INSTALL_REQUIRES = f.read().splitlines()
setup(
name="diffuzers",
description="diffuzers",
long_description=long_description,
long_description_content_type="text/markdown",
author="Abhishek Thakur",
url="https://github.com/abhishekkrthakur/diffuzers",
packages=find_packages("."),
entry_points={"console_scripts": ["diffuzers=diffuzers.cli.main:main"]},
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
python_requires=">=3.8",
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="diffuzers diffusers",
include_package_data=True,
)