Merge lp:~brian.curtin/ubuntuone-windows-installer/buildout-env into lp:ubuntuone-windows-installer
Status: | Merged |
---|---|
Approved by: | Alejandro J. Cura |
Approved revision: | 117 |
Merged at revision: | 112 |
Proposed branch: | lp:~brian.curtin/ubuntuone-windows-installer/buildout-env |
Merge into: | lp:ubuntuone-windows-installer |
Diff against target: |
564 lines (+534/-0) 6 files modified
scripts/devsetup/README.txt (+39/-0) scripts/devsetup/bootstrap.py (+262/-0) scripts/devsetup/buildout.cfg (+98/-0) scripts/devsetup/env.bat (+79/-0) scripts/devsetup/get_protoc.py (+33/-0) scripts/devsetup/updateall.bat (+23/-0) |
To merge this branch: | bzr merge lp:~brian.curtin/ubuntuone-windows-installer/buildout-env |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro J. Cura (community) | Approve | ||
Roberto Alsina (community) | Approve | ||
Review via email: mp+102386@code.launchpad.net |
Commit message
- Implement a buildout to create a simple, reproducible development environment.
Description of the change
Implement a buildout providing all of our necessary dependencies as well as support for running Python within that environment.
This change provides the following:
* bootstrap.py
The buildout bootstrap script, to be executed first in order to bootstrap the environment. The script should be executed as "C:\Python27\
* buildout.cfg
Version-specific configuration of all dependencies needed to build, run, and test all U1 projects. This includes a common "development" set of cross-platform dependencies, and a "windows" set which inherits from "development" and includes Windows-only projects. This script is picked up by the bin\buildout.exe binary created by the bootstrap. In order to setup a Windows environment, run "bin\buidout.exe install windows". The "install sources" will create branches of all of our projects in the "parts" folder.
* env.bat
A batch script to be run which does some environment setup to place the buildout-specific Python in the path for the current command prompt session and place any auxiliary scripts in the proper places, e.g., u1trial.
* get_protoc.py
A Python script to fetch the proper version of Google Protobuf to place the protoc.exe compiler in the Path. This is executed by the env.bat script.
I wuld move dirspec into sources but other than that, excellent branch!