Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (61 loc) · 1.88 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (61 loc) · 1.88 KB
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
62
63
import setuptools
with open("README.md", "r", encoding = "utf-8") as f:
long_description = f.read()
setuptools.setup(
name = "face-crop-plus",
version = "1.1.0",
author = "Mantas Birškus",
author_email = "mantix7@gmail.com",
license = "MIT",
description = f"Automatic face aligner and cropper with quality "
f"enhancement and attribute parsing.",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/mantasu/face-crop-plus",
project_urls = {
"Documentation": "https://mantasu.github.io/face-crop-plus",
"Bug Tracker": "https://github.com/mantasu/face-crop-plus/issues",
},
keywords = [
"face",
"python",
"pytorch",
"alignment",
"cropping",
"super resolution",
"quality enhancement",
"parsing",
"grouping",
"attributes",
"mask",
"segmentation",
"celeba",
],
install_requires = [
"tqdm",
"unidecode",
"opencv-python",
"torch",
"torchvision",
],
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
package_dir = {"": "src"},
packages = setuptools.find_packages(where="src"),
entry_points={
"console_scripts": [
"face-crop-plus=face_crop_plus.__main__:main",
"face_crop_plus=face_crop_plus.__main__:main",
"fcp=face_crop_plus.__main__:main",
]
},
python_requires = ">=3.10"
)