-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
56 lines (49 loc) · 1.65 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
import os
import pathlib
import sys
sys.path.append(os.path.dirname(__file__))
from setuptools import setup
import versioneer
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")
requires = [
"numpy~=1.23.5",
"onnxruntime~=1.13.1",
"opencv-python-headless~=4.6.0.66",
"pillow~=9.3.0",
]
extras_require = {
"gpu": ["onnxruntime-gpu~=1.13.1"],
}
setup(
name="rembg-aws-lambda",
description="Remove image background",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rnag/rembg-aws-lambda",
author="Daniel Gatis",
author_email="[email protected]",
classifiers=[
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
keywords="remove, background, u2net",
packages=["rembg"],
package_data={'': ['*.onnx']},
include_package_data=True,
python_requires=">3.7, <3.11",
install_requires=requires,
extras_require=extras_require,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)