git-repo-updater icon indicating copy to clipboard operation
git-repo-updater copied to clipboard

Incompatible with PyOxidizer

Open Baneeishaque opened this issue 4 years ago • 3 comments

See PyOxidizer Issue 69 : Stop requiring __file__ in Python packages

I am trying to use git-repo-updater with PyOxidizer.

    Finished dev [unoptimized + debuginfo] target(s) in 1m 29s
writing executable to C:\Lab\PyOxidizer\git-repo-updator\.\build\x86_64-pc-windows-msvc\debug\exe\git-repo-updator.exe
>>> from gitup.cli import run
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gitup.cli", line 18, in <module>
  File "gitup.update", line 15, in <module>
  File "git", line 33, in <module>
  File "git", line 22, in _init_externals
NameError: name '__file__' is not defined
>>>

git-repo-updater uses GitPython package : git-repo-updater setup.py, git-repo-updater source file

Baneeishaque avatar Apr 06 '20 13:04 Baneeishaque

This is not a problem with git-repo-updater, but with GitPython; please report the issue there.

earwig avatar Apr 06 '20 18:04 earwig

Done.

Baneeishaque avatar Apr 07 '20 19:04 Baneeishaque

I think this should be fixed now as of GitPython 3.1.1?

earwig avatar Apr 16 '20 19:04 earwig