Merge lp:~brian.curtin/ubuntuone-windows-installer/buildout-env into lp:ubuntuone-windows-installer
| Status: | Merged |
|---|---|
| Approved by: | Alejandro J. Cura on 2012-04-18 |
| 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 on 2012-04-18 | ||
| Roberto Alsina (community) | 2012-04-17 | Approve on 2012-04-18 | |
|
Review via email:
|
|||
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.
- 116. By Brian Curtin on 2012-04-17
-
direction updates
- 117. By Brian Curtin on 2012-04-18
-
Move standalone script code into a function
| Alejandro J. Cura (alecu) wrote : | # |
I seem to have completely missed the "--distribute" flag when running bootstrap.py for the first time, so probably something broke on my end because of that. Sorry!
I was able to run all tests in the buildout created by this branch, but for that I had to remove the devtools installed by these scripts and force the use of devtools from trunk, otherwise I would get an error caused by a missing new testing baseclass that was recently added by mandel to devtools.
I think that deserves a different bug, so I'm approving this branch.
Great work!

I wuld move dirspec into sources but other than that, excellent branch!