Skip to content

Commit

Permalink
rebased the project for building it with pyinstaller and jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
LoveBootCaptain committed Feb 19, 2017
1 parent 878aa2e commit 6c24b34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BusStopPi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ exe = EXE(pyz,
app = BUNDLE(exe,
name='BusStopPi.app',
icon=PATH + '/icons/BusStopPi.icns',
bundle_identifier=None)
bundle_identifier=None)
6 changes: 3 additions & 3 deletions src/BusStopPi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# DISPLAY_WIDTH = DISPLAY.current_w
# DISPLAY_HEIGHT = DISPLAY.current_h

# TFT = pygame.display.set_mode((DISPLAY_WIDTH, DISPLAY_HEIGHT))
TFT = pygame.display.set_mode((DISPLAY_WIDTH, DISPLAY_HEIGHT), pygame.FULLSCREEN)
TFT = pygame.display.set_mode((DISPLAY_WIDTH, DISPLAY_HEIGHT))
# TFT = pygame.display.set_mode((DISPLAY_WIDTH, DISPLAY_HEIGHT), pygame.FULLSCREEN)

pygame.mouse.set_visible(False)

Expand All @@ -42,7 +42,7 @@

pygame.display.set_caption('BusStopPi')

PATH = sys.path[0] + '/'
PATH = sys.path[1] + '/src'

print(PATH + '/font/Roboto-Light.ttf')

Expand Down

0 comments on commit 6c24b34

Please sign in to comment.