Skip to content

Instantly share code, notes, and snippets.

View Devligue's full-sized avatar

Krzysztof Dziadowiec Devligue

View GitHub Profile
@Devligue
Devligue / win.spec
Created August 24, 2018 12:53
Example *.spec files for PyUpdater Python app from Pipenv managed project
# -*- mode: python -*-
import os
import sys
import subprocess
def get_venv_path():
output = subprocess.check_output(['pipenv', '--venv'])
return output.decode('utf-8').rstrip()