Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with PyOxidizer #58

Open
Baneeishaque opened this issue Apr 6, 2020 · 3 comments
Open

Incompatible with PyOxidizer #58

Baneeishaque opened this issue Apr 6, 2020 · 3 comments

Comments

@Baneeishaque
Copy link

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

@earwig
Copy link
Owner

earwig commented Apr 6, 2020

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

@Baneeishaque
Copy link
Author

Baneeishaque commented Apr 7, 2020

Done.

@earwig
Copy link
Owner

earwig commented Apr 16, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants