mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-16 11:55:57 +08:00
fix python version
This commit is contained in:
parent
92e768c3fa
commit
8bc16273bc
@ -1,3 +1,9 @@
|
||||
import sys
|
||||
|
||||
if not (sys.version_info.major == 3 and sys.version_info.minor == 9):
|
||||
print("Python 3.9.* is required", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
from . import _version
|
||||
|
||||
__version__ = _version.get_versions()["version"]
|
||||
|
4
setup.py
4
setup.py
@ -27,11 +27,11 @@ setup(
|
||||
author_email="danielgatis@gmail.com",
|
||||
classifiers=[
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
],
|
||||
keywords="remove, background, u2net",
|
||||
packages=["rembg"],
|
||||
python_requires=">=3.8, <4",
|
||||
python_requires="~=3.9.0",
|
||||
install_requires=requireds,
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user