SickBeard-Team/SickBeard — pull request #3 by lad1337 (2011-11-28 15:09:03+00:00)
Title: Binary build script for win and osx

Yeah a setup.py for mac and win

you you need py2app or py2exe for mac and win respectively
and you need everything that is needed to run sb from git ... i say git because the build script needs git
in addition on mac you need PyObjCTools in order to incl the mac menu if its not presend the script will preint a warning but continue

to build simply run
```$ python setup.py
```
the zip/dmg are located in the "dist" folder after its done
the version / build will be YY.MM and the branch the current branch you run in

now there are several args you can set
--test: does not accept a value. if set it onyl goes to the point where building would start and then exits
--dmgbg: osx only. file path to the background of the dmg background
--onlyApp: osx only.does not accept a value. only build the app and dont create the dmg image
--nightly: does not accept a value. create a nightly version appends teh current short sha1 hash to the version/build string
--py2appArgs: osx only.
--target: set it to "osx" or "win" will try to the build function for given os ... but i dont think it will ever work to cross compile
--year: set the YY of the build... please only use two numbers. there is no check what so ever
--month: set the MM of the build... please only use two numbers. there is no check what so ever
--day: set the DD of the build... set it to 'auto' (NO ->' ) to use current date... if this is not set the DD is not added to the build string
--branch: set the current branch e.g. --branch master

NO automatic upload

AND this has some merges with midgets master ... we might want to pull them into develop before pulling this