-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
setup.py
38 lines (35 loc) · 1.49 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
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.2",
author="Taehun Kim",
author_email="taehoon1018@postech.ac.kr",
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', '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
)