Skip to content

Commit

Permalink
修复 #38
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkueid committed Jan 9, 2025
1 parent 00127f3 commit bb0e2f0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
AUTHOR = "Arkueid"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Arkueid/live2d-py"
REQUIRES_PYTHON = [">=3.2"]
REQUIRES_PYTHON = ">=3.2"
INSTALL_REQUIRES = ["numpy", "pyopengl", "pillow"]


Expand All @@ -39,7 +39,7 @@ def get_cmake_version(self):
try:
out = subprocess.check_output(["cmake", "--version"])
except:
sys.stderr.write("CMake must be installed to build the following extensions: " + ", ".join(self.extensions))
sys.stderr.write("CMake must be installed to build the following extensions: " + ", ".join(str(self.extensions)))
sys.exit(1)
return re.search(r"cmake version ([0-9.]+)", out.decode()).group(1)

Expand Down Expand Up @@ -110,13 +110,5 @@ def build_extension(self, ext):
package_data={"": ["*.pyd", "*.so"]},
package_dir={"": "package"},
keywords=["Live2D", "Cubism Live2D", "Cubism SDK", "Cubism SDK for Python"],
python_requires=">=3.2,<=3.12",
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
python_requires=REQUIRES_PYTHON
)

0 comments on commit bb0e2f0

Please sign in to comment.