Skip to content

Commit

Permalink
add standalone binary
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Feb 24, 2015
1 parent c7e57d9 commit 702a7c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
all:
pyinstaller --distpath=. --workpath=pyinstaller -n microanalytics --onefile --log-level DEBUG microanalytics.py
rm -r pyinstaller
Binary file added microanalytics
Binary file not shown.
5 changes: 5 additions & 0 deletions microanalytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

from __future__ import division

# pyinstaller workarounds
import sys
sys.getfilesystemencoding = lambda: 'UTF-8'
##

import click
import requests
import datetime
Expand Down

0 comments on commit 702a7c8

Please sign in to comment.