-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
setup.py
57 lines (54 loc) · 1.76 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
import os
import shutil
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
cfg_path = os.environ.get(
"TRANSPARENT_BACKGROUND_FILE_PATH", os.path.abspath(os.path.expanduser("~"))
)
os.makedirs(os.path.join(cfg_path, ".transparent-background"), exist_ok=True)
setuptools.setup(
name="transparent-background",
version="1.3.3",
author="Taehun Kim",
author_email="[email protected]",
description="Make images with transparent background",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/plemeri/transparent-background",
packages=[
"transparent_background",
"transparent_background.modules",
"transparent_background.backbones",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=[
"torch>=1.7.1",
"torchvision>=0.8.2",
"opencv-python>=4.6.0.66",
"timm>=0.6.11",
"tqdm>=4.64.1",
"kornia>=0.5.4",
"gdown>=4.5.4",
"wget>=3.2",
"easydict>=1.10",
"pyyaml>=6.0",
"albumentations>=1.3.1",
# TODO: remove pin of albucore once this bug is fixed https://github.com/albumentations-team/albumentations/issues/1945
"albucore==0.0.16",
"flet>=0.23.1",
],
extras_require={"webcam": ["pyvirtualcam>=0.6.0"]},
entry_points={
"console_scripts": [
"transparent-background=transparent_background:console",
"transparent-background-gui=transparent_background:gui",
],
},
include_package_data=True,
)