Skip to content

Commit

Permalink
Bump version: 7.1.0 → 7.1.0-post0 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotduarte committed Jun 3, 2024
1 parent 0307196 commit aa4ff40
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cx_Freeze/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
__all__ += ["bdist_appimage", "bdist_deb", "bdist_rpm"]


__version__ = "7.2.0-dev0"
__version__ = "7.1.0-post0"


def setup(**attrs) -> setuptools.Distribution: # noqa: D103
Expand Down
9 changes: 7 additions & 2 deletions cx_Freeze/freezer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from setuptools import Distribution

from cx_Freeze._compat import IS_MACOS, IS_MINGW, IS_WINDOWS
from cx_Freeze._compat import IS_CONDA, IS_MACOS, IS_MINGW, IS_WINDOWS
from cx_Freeze.common import get_resource_file_path, process_path_specs
from cx_Freeze.exception import FileError, OptionError
from cx_Freeze.executable import Executable
Expand Down Expand Up @@ -756,6 +756,10 @@ def freeze(self) -> None:
)
finder.add_constant("_EXECUTABLES_NUMBER", len(self.executables))

# Write the modules baefore the included files to fix an issue
if IS_WINDOWS and not IS_CONDA:
self._write_modules()

# Include user-defined files and hooks-defined files
target_dir = self.target_dir
excluded_dependent_files = finder.excluded_dependent_files
Expand Down Expand Up @@ -783,7 +787,8 @@ def freeze(self) -> None:
self._copy_file(source_path, fulltarget, copy_dependent_files)

# Write the modules after the included files to avoid duplicate files
self._write_modules()
if not (IS_WINDOWS and not IS_CONDA):
self._write_modules()

# do any platform-specific post-Freeze work
self._post_freeze_hook()
Expand Down
2 changes: 1 addition & 1 deletion doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# General information about the project.
project = "cx_Freeze"
copyright = "2024, Marcelo Duarte" # noqa: A001
__version__ = "7.2.0-dev0"
__version__ = "7.1.0-post0"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ target-version = ["py38"]

[tool.bumpversion]
commit = true
current_version = "7.2.0-dev0"
current_version = "7.1.0-post0"
message = "Bump version: {current_version} → {new_version} [ci skip]"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)(?P<build>\\d+))?"
serialize = [
Expand Down

0 comments on commit aa4ff40

Please sign in to comment.