Skip to content

Commit

Permalink
New Build, unrestricted versions, added development notes
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-clapham committed Feb 10, 2021
1 parent c9cda4b commit 6a49175
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Development

## Preparation

* install python 3+
* set up venv for this folder ```py -m venv env```
* use the env ```.\env\Scripts\activate```
* update pip ```.\env\Scripts\python.exe -m pip install --upgrade pip```
* get dependencies ```pip install -r requirements.txt```
* ignore warning about mq install
* get pyinstaller ```pip install pyinstaller```

## Package

```pyinstaller --onefile -w .\pbivcs.py```

this will bundle up ```pbivcs.exe``` to \dist
Note - this kicks off some antivirus programs - you may need to unquarantine it.
6 changes: 3 additions & 3 deletions pbivcs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ block_cipher = None


a = Analysis(['pbivcs.py'],
pathex=['C:\\Users\\Andy-work\\Dev\\powerbi-vcs'],
pathex=['C:\\Users\\andy-work\\Dev\\powerbi-vcs'],
binaries=[],
datas=[],
hiddenimports=['configargparse','lxml'],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand All @@ -30,4 +30,4 @@ exe = EXE(pyz,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True )
console=False )
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 6a49175

Please sign in to comment.