File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,13 @@ sudo: required
33language : generic
44
55install :
6- - " ./build.sh"
6+ - " ./build.sh"
7+
8+ deploy :
9+ provider : releases
10+ api_key :
11+ secure : hF3C7uG83N57UPRxCFKcgkAVDEODvpVTafIdJrjVO9kNXZoFaoRcBApWBC+tZwZAnFOil3XZMciFVVDcvxq8rIX1p41lfVDWfV0L711hIoI1xV+JyKLE44JYlKnVhP9Y+9OvkmDjPgavuqfi/Bujh9aE8BpxkSvrLLDg3ucAbUeFlapfbAOTf+vds5cLxMySJns8zfAFcboGv6+HYCvnXrCPlcdo3v26Hd5DVM80+LgjfGrMnFMtiLNbqJw2r9u887icGGU0UZfOA94RqUV6i081LSuvlEnF2kJo0oGmO54VQMB2y4WrfBOW1ubXxvLLRgnDuV72yIxQmSq89nz3f/WvNSO0pm5UAv+LL3xSOR7MPW+NE3gCC6rbCUJJR/R5+3uxi1y4mcfNpZhHsH0o2aR21vi1E5mcqkS40qoheHO18L2Ppo2FkEDucm1JwjDacMlyiJdtoSJiJZS25q4iGTINhbxTeI19dm0bIKtJ67qAoy+PFI3QX1ENK+eT/+1mShK4SUyAkdXzPCcU38QM0Ywctq+b5eAB6CnipT3n3UcTWOWp50bhdyzKV4TK7GfmpTHw8TKTDbe6qWgHGUV09a6SnQCuikkFIrbJkKDKw4gBdiOxQamYDNNSbfnWbGitY3106dIbrye8XNyIZzLC9qZvVwra785aesDNA4VnVvA=
12+ file : PythonSkeleton.dmg
13+ skip_cleanup : true
14+ on :
15+ tags : true
Original file line number Diff line number Diff line change 11# PythonDotApp
22
3+ [ ![ Build Status] ( https://travis-ci.org/bit/PythonDotApp.svg?branch=master )] ( https://travis-ci.org/bit/PythonDotApp )
4+
5+
36Skeleton to build Python 3 together with a custom hello world application and package it as OS X Application.
47
58Before you start, install brew.
69
710To install additional packages add them to requirements.txt
811
912If you need more packages from brew you have to edit build.sh
13+
14+
Original file line number Diff line number Diff line change @@ -218,3 +218,10 @@ test -e test.py && "${NAME}.app/Contents/Python/bin/python3.5" test.py
218218
219219find " ${NAME} .app" -d -name " __pycache__" -type d -exec rm -r " {}" \;
220220find " ${NAME} .app" -name " *.pyc" -exec rm " {}" \;
221+
222+ mkdir dmg
223+ ln -s /Applications " dmg/Applications"
224+ mv " ${NAME} .app" dmg/
225+ hdiutil create -srcfolder " dmg" -volname " ${NAME} " -format UDZO " ${NAME} .tmp.dmg"
226+ hdiutil convert -format UDZO -imagekey zlib-level=9 -o " ${NAME} .dmg" " ${NAME} .tmp.dmg"
227+ rm " ${NAME} .tmp.dmg"
You can’t perform that action at this time.
0 commit comments