Extract entry point scripts to pyproject.toml

This commit is contained in:
Edouard Choinière
2025-02-04 02:06:29 +00:00
parent 9ae5c112b4
commit eef0ba41e8
3 changed files with 14 additions and 27 deletions

View File

@@ -294,28 +294,6 @@ setuptools.command.build_py.make_writable = wx_make_writable
WX_PKGLIST = [cfg.PKGDIR] + [cfg.PKGDIR + '.' + pkg for pkg in find_packages('wx')]
ENTRY_POINTS = {
'console_scripts' : [
"img2png = wx.tools.img2png:main",
"img2py = wx.tools.img2py:main",
"img2xpm = wx.tools.img2xpm:main",
"pywxrc = wx.tools.pywxrc:main",
# ],
# 'gui_scripts' : [ # TODO: Why was this commented out?
"wxget = wx.tools.wxget:main", # New wx wget
"wxdocs = wx.tools.wxget_docs_demo:docs_main", # Get/Launch Docs
"wxdemo = wx.tools.wxget_docs_demo:demo_main", # Get/Launch Demo
"helpviewer = wx.tools.helpviewer:main",
"pycrust = wx.py.PyCrust:main",
"pyshell = wx.py.PyShell:main",
"pyslices = wx.py.PySlices:main",
"pyslicesshell = wx.py.PySlicesShell:main",
],
}
SCRIPTS = []
DATA_FILES = []
HEADERS = None
BUILD_OPTIONS = { } #'build_base' : cfg.BUILD_BASE }
#if cfg.WXPORT == 'msw':
@@ -340,9 +318,6 @@ if __name__ == '__main__':
options = { 'build' : BUILD_OPTIONS },
scripts = SCRIPTS,
data_files = DATA_FILES,
headers = HEADERS,
cmdclass = CMDCLASS,
entry_points = ENTRY_POINTS,
)