Skip to content

Commit

Permalink
fix: windows python entrypoint script attribute in py-rattler (#828)
Browse files Browse the repository at this point in the history
Fixes #667. The `windows_python_entrypoint` attribute had an extra
underscore on the python side which caused the error.
  • Loading branch information
iamthebot authored Aug 19, 2024
1 parent 3a5f06e commit 8a397a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py-rattler/rattler/prefix/prefix_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ def pyc_file(self) -> bool:
return self._inner.pyc_file

@property
def windows_python_entry_point_script(self) -> bool:
def windows_python_entrypoint_script(self) -> bool:
"""
A Windows entry point python script (a <entrypoint>-script.py Python script file)
"""
return self._inner.windows_python_entry_point_script
return self._inner.windows_python_entrypoint_script

@property
def windows_python_entry_point_exe(self) -> bool:
def windows_python_entrypoint_exe(self) -> bool:
"""
A Windows entry point python script (a <entrypoint>.exe executable)
"""
return self._inner.windows_python_entry_point_exe
return self._inner.windows_python_entrypoint_exe

@property
def unix_python_entrypoint(self) -> bool:
Expand Down

0 comments on commit 8a397a0

Please sign in to comment.