diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-17 16:18:29 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-17 16:18:29 +0100 |
commit | 28e844dd1ba1f7c7052bc872b632a5c5d943b295 (patch) | |
tree | db0e3fe48d68322404ecc5a2caf5979a7f1efad2 /BUILDING.md | |
parent | 2a563abd6b652532f13a97de23392cfe3fc6c6ce (diff) |
added deps and instructions for building with pyinstaller on windows 10
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md index 83ffcd0..7d6d2d5 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -2,6 +2,7 @@ * `git pull` * Activate virtualenv (on Windows `.venv\Scripts\activate.bat`) + * (MAKE SURE YOU HAVE A PYTHON 3.7 virtualenv to hand!) * Remove `bcompiler-engine` and `datamaps` (`pip uninstall bcompiler-engine datamaps`) * `pip install -e .` to reinstall in developer mode @@ -9,3 +10,12 @@ directory. * Upload to target download site +### Building on Windows 10 (using PowerShell) + +* Activate a Python 3.7 virtualenv + * If needed, do so with: + * `C:\Users\lemon\AppData\Local\Programs\Python\Python37\python.exe -m venv /tmp/datamaps-build` + * `C:\tmp\datamaps-build\Scripts\Activate.ps1` + * Ensure `pefile` and `pywin32-ctypes` are installed + * `pyinstaller cli.py --name "dm" --onefile` + * `dm.exe` is built inside `dist/`
\ No newline at end of file |