mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Also check __init__ when installing from sources
This commit is contained in:
parent
088eb2bae0
commit
fbd6553c7d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def install_buildozer(buildozer_version):
|
||||||
if buildozer_version == "stable":
|
if buildozer_version == "stable":
|
||||||
# Install stable buildozer from PyPI
|
# Install stable buildozer from PyPI
|
||||||
subprocess.check_call([*pip_install, "buildozer"])
|
subprocess.check_call([*pip_install, "buildozer"])
|
||||||
elif os.path.exists(buildozer_version):
|
elif os.path.exists(buildozer_version) and os.path.exists(os.path.join(buildozer_version, "buildozer", "__init__.py")):
|
||||||
# Install from local directory
|
# Install from local directory
|
||||||
subprocess.check_call([*pip_install, buildozer_version])
|
subprocess.check_call([*pip_install, buildozer_version])
|
||||||
elif buildozer_version.startswith("git+"):
|
elif buildozer_version.startswith("git+"):
|
||||||
|
|
Loading…
Reference in a new issue