setuptools v61, excludes, v2.2.3
This commit is contained in:
parent
fe53f1bf7b
commit
9ec0c54f39
4 changed files with 37 additions and 10 deletions
|
@ -1,6 +1,12 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
(This document uses YYYY-MM-DD)
|
(This document uses YYYY-MM-DD)
|
||||||
|
|
||||||
|
## [v2.2.3] - 2022-04-11
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Excluded some more modules in build files, hopefully shouldn't cause any issues.
|
||||||
|
- Added empty 'package' option to 'setup' in setup.py, setuptools v61.0.0 doesn't seem to like our project layout.
|
||||||
|
|
||||||
## [v2.2.2] - 2022-04-11
|
## [v2.2.2] - 2022-04-11
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -62,7 +62,8 @@ Some of the include files are specific to my instalation, so you might have to e
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
sys.exit("KeyboardInterrupt")
|
sys.exit("KeyboardInterrupt")
|
||||||
|
|
||||||
exclude_modules = ['collections.sys',
|
exclude_modules = ['tkinter',
|
||||||
|
'collections.sys',
|
||||||
'collections._sre',
|
'collections._sre',
|
||||||
'collections._json',
|
'collections._json',
|
||||||
'collections._locale',
|
'collections._locale',
|
||||||
|
@ -78,12 +79,20 @@ exclude_modules = ['collections.sys',
|
||||||
'PyQt5.QtSvg',
|
'PyQt5.QtSvg',
|
||||||
'PyQt5.QtTest',
|
'PyQt5.QtTest',
|
||||||
'PyQt5.QtWebKit',
|
'PyQt5.QtWebKit',
|
||||||
# 'PyQt5.QtXml',
|
'PyQt5.QtXml',
|
||||||
# 'PyQt5.QtXmlPatterns',
|
'PyQt5.QtXmlPatterns',
|
||||||
'PyQt5.phonon',
|
'PyQt5.phonon',
|
||||||
'PyQt5.QtAssistant',
|
'PyQt5.QtAssistant',
|
||||||
'PyQt5.QtDesigner',
|
'PyQt5.QtDesigner',
|
||||||
'PyQt5.QAxContainer',]
|
'PyQt5.QAxContainer',
|
||||||
|
'asyncio', # for now . . .
|
||||||
|
'email', # ?? :?
|
||||||
|
'xml',
|
||||||
|
'pygame.docs' # Hopefully we can just not have pygame at all at some point =3
|
||||||
|
# (when QtMultimedia stops relying on local codecs </3)
|
||||||
|
'pygame.examples',
|
||||||
|
'pygame.tests',
|
||||||
|
'pydoc_data'],
|
||||||
|
|
||||||
add_data = ['quirks;quirks',
|
add_data = ['quirks;quirks',
|
||||||
'smilies;smilies',
|
'smilies;smilies',
|
||||||
|
|
20
setup.py
20
setup.py
|
@ -2,6 +2,7 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from cx_Freeze import setup, Executable
|
from cx_Freeze import setup, Executable
|
||||||
|
import pygame
|
||||||
|
|
||||||
from version import buildVersion
|
from version import buildVersion
|
||||||
|
|
||||||
|
@ -35,7 +36,9 @@ includefiles = ["quirks",
|
||||||
"Pesterchum.png",
|
"Pesterchum.png",
|
||||||
"logging.ini.example"]
|
"logging.ini.example"]
|
||||||
build_exe_options = {
|
build_exe_options = {
|
||||||
## "includes": [],
|
"includes": ['PyQt5.QtCore',
|
||||||
|
'PyQt5.QtGui',
|
||||||
|
'PyQt5.QtWidgets'],
|
||||||
"excludes": ['tkinter',
|
"excludes": ['tkinter',
|
||||||
'collections.sys',
|
'collections.sys',
|
||||||
'collections._sre',
|
'collections._sre',
|
||||||
|
@ -53,12 +56,20 @@ build_exe_options = {
|
||||||
'PyQt5.QtSvg',
|
'PyQt5.QtSvg',
|
||||||
'PyQt5.QtTest',
|
'PyQt5.QtTest',
|
||||||
'PyQt5.QtWebKit',
|
'PyQt5.QtWebKit',
|
||||||
# 'PyQt5.QtXml',
|
'PyQt5.QtXml',
|
||||||
# 'PyQt5.QtXmlPatterns',
|
'PyQt5.QtXmlPatterns',
|
||||||
'PyQt5.phonon',
|
'PyQt5.phonon',
|
||||||
'PyQt5.QtAssistant',
|
'PyQt5.QtAssistant',
|
||||||
'PyQt5.QtDesigner',
|
'PyQt5.QtDesigner',
|
||||||
'PyQt5.QAxContainer',],
|
'PyQt5.QAxContainer',
|
||||||
|
'asyncio', # for now . . .
|
||||||
|
'email', # ?? :?
|
||||||
|
'xml',
|
||||||
|
'pygame.docs' # Hopefully we can just not have pygame at all at some point =3
|
||||||
|
# (when QtMultimedia stops relying on local codecs </3)
|
||||||
|
'pygame.examples',
|
||||||
|
'pygame.tests',
|
||||||
|
'pydoc_data'],
|
||||||
"include_files": includefiles,
|
"include_files": includefiles,
|
||||||
"include_msvcr": True, # cx_freeze copies 64-bit binaries always?
|
"include_msvcr": True, # cx_freeze copies 64-bit binaries always?
|
||||||
"path": path # Improved in 6.6, path to be safe
|
"path": path # Improved in 6.6, path to be safe
|
||||||
|
@ -121,6 +132,7 @@ setup(
|
||||||
options = {"build_exe": build_exe_options,
|
options = {"build_exe": build_exe_options,
|
||||||
"bdist_msi": bdist_msi_options,
|
"bdist_msi": bdist_msi_options,
|
||||||
"bdist_mac": bdist_mac_options},
|
"bdist_mac": bdist_mac_options},
|
||||||
|
packages="",
|
||||||
executables = [Executable("pesterchum.py",
|
executables = [Executable("pesterchum.py",
|
||||||
base=base,
|
base=base,
|
||||||
icon=icon
|
icon=icon
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
_pcVersion = "Alt. v2.2.2"
|
_pcVersion = "Alt. v2.2.3"
|
||||||
buildVersion = "v2.2.2"
|
buildVersion = "v2.2.3"
|
||||||
|
|
Loading…
Reference in a new issue