代码拉取完成,页面将自动刷新
同步操作将从 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
with open("glass_engine/README_PYPI.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
extra_files = ["images/glass_engine_logo64.png", "LICENSE"]
extra_files += find_files("glass_engine", "glass_engine/glsl")
setuptools.setup(
name="glass_engine",
version="0.1.55",
author="王炳辉 (BingHui-WANG)",
author_email="binghui.wang@foxmail.com",
description="An easy-to-use 3D rendering engine for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Time-Coder/Glass-Engine",
packages=setuptools.find_packages(include=['glass_engine*']),
package_data={
'glass_engine': extra_files,
},
include_package_data=False,
python_requires=">=3.7",
install_requires=[
"python-glass==0.1.55",
"assimpy>=5.3.1.3",
"pytweening"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
],
entry_points={'pyinstaller40': ['hook-dirs = glass_engine.__pyinstaller:get_hook_dirs']}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。