-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
55 lines (50 loc) · 1.34 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
from setuptools import find_packages, setup
# Metadata
NAME = "consistency_models"
DESCRIPTION = "Consistency Models."
URL = "https://github.com/Kinyugo/consistency_models"
EMAIL = "[email protected]"
AUTHOR = "Kinyugo Maina"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "0.0.3"
# Required packages
REQUIRED = [
"torch>=1.6",
"tqdm",
]
# Extra packages
EXTRAS = {}
# Load long description or fallback to short description
try:
with open("README.md", "r", encoding="Utf-8") as f:
long_description = "\n" + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
# Setup package
setup(
name=NAME,
version=VERSION,
long_description=long_description,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(),
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
],
keywords=[
"artificial intelligence",
"deep learning",
"generative AI",
],
)