mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 08:26:38 +02:00
add github short SHA to artifact filename *fix2*
This commit is contained in:
parent
1cea093d5b
commit
91aecb2786
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,16 @@
|
||||||
import os
|
import os
|
||||||
from datetime import date
|
from datetime import date
|
||||||
from dulwich import porcelain
|
from dulwich import porcelain
|
||||||
|
import pkg_resources
|
||||||
|
|
||||||
|
Import("env")
|
||||||
|
|
||||||
|
required_pkgs = {'dulwich'}
|
||||||
|
installed_pkgs = {pkg.key for pkg in pkg_resources.working_set}
|
||||||
|
missing_pkgs = required_pkgs - installed_pkgs
|
||||||
|
|
||||||
|
if missing_pkgs:
|
||||||
|
env.Execute('"$PYTHONEXE" -m pip install dulwich --global-option="--pure"')
|
||||||
|
|
||||||
def get_firmware_specifier_build_flag():
|
def get_firmware_specifier_build_flag():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue