代码拉取完成,页面将自动刷新
同步操作将从 Time-Coder/Glass-Engine 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
import setuptools
import os
def find_files(module, directory):
file_list = []
for root, _, files in os.walk(directory):
for file in files:
file_path = os.path.join(root, file)[(len(module) + 1) :]
abs_file_path = os.path.abspath(os.path.join(root, file)).replace("\\", "/")
if not os.path.isfile(abs_file_path):
continue
if "__glcache__" not in file_path:
file_list.append(file_path.replace("\\", "/"))
return file_list
extra_files = ["LICENSE", "pcpp/LICENSE"]
extra_files += find_files("glass", "glass/glsl")
extra_files += find_files("glass", "glass/ShaderParser_/tree-sitter-glsl")
with open("glass/README_PYPI.md", "r", encoding='utf-8') as in_file:
long_description = in_file.read()
setuptools.setup(
name="python_glass",
version="0.1.55",
author="王炳辉 (BingHui-WANG)",
author_email="binghui.wang@foxmail.com",
description="OpenGL wrapper for Glass-Engine",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Time-Coder/Glass-Engine",
packages=setuptools.find_packages(exclude=['*glass_engine*', '*assimpy*']),
package_data={
'glass': extra_files
},
include_package_data=False,
python_requires=">=3.7",
install_requires=[
"PyOpenGL",
"PyGLM",
"numpy",
"opencv-python",
"maxminddb-geolite2",
"wget",
"requests",
"chardet",
"tree-sitter",
"freetype-py"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
],
entry_points={'pyinstaller40': ['hook-dirs = glass.__pyinstaller:get_hook_dirs']}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。