-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (44 loc) · 1.37 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
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="stylerank",
version="0.1",
author="Eyal Benaroche",
author_email="eyal.benaroche@jasper.ai",
description="Stylying unified benchmark",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gojasper/style-rank",
project_urls={"Bug Tracker": "https://github.com/gojasper/style-rank/issues"},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=[
"black>=24.2.0",
"controlnet-aux==0.0.7",
"einops==0.7.0",
"fire>=0.6.0",
"isort>=5.13.2",
"image-reward==1.5",
"lightning==2.2.5",
"lpips==0.1.4",
"opencv-python==4.9.0.80",
"peft==0.9.0",
"pydantic>=2.6.1",
"numpy<=1.26.4",
"scipy>=1.12.0",
"sentencepiece>=0.2.0",
"tokenizers>=0.15.2",
"tqdm>=4.66.0",
"transformers==4.38.0",
"wandb==0.16.2",
"webdataset>=0.2.86",
],
python_requires=">=3.10",
)