Skip to content

Commit cbec53d

Browse files
author
Jim Robinson
committed
Add pyinstaller build
1 parent 2ce13ef commit cbec53d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
pip install -r requirements.dev.txt
5959
python -m build
6060
python -m twine upload ./dist/* --non-interactive -u __token__ -p $(pypi_token)
61+
pip install pyinstaller
62+
pyinstaller --onefile ./croudtech_bootstrap_app/croudtech-bootstrap.py --clean
63+
cp ./dist/croudtech-bootstrap $(Build.ArtifactStagingDirectory)/croudtech-bootstrap
6164
- job: GithubRelease
6265
dependsOn: build
6366
displayName: GithubRelease
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
os.environ["AWS_DEFAULT_REGION"]="eu-west-2"
3+
4+
from croudtech_bootstrap_app.cli import cli
5+
import os
6+
7+
os.environ["LC_ALL"]="C.UTF-8"
8+
os.environ["LANG"]="C.UTF-8"
9+
10+
cli()

0 commit comments

Comments
 (0)