Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 ## Test Data? | |
| 2 | |
| 3 This test data directory is used by VirtualEnv tests to simulate a full | |
| 4 environment setup. | |
| 5 | |
| 6 A fake CIPD client in `venv_test.go` will load this, treating each intermediate | |
| 7 file as a CIPD archive: | |
| 8 | |
| 9 * If the file is a directory, it will be recursively copied when installed. | |
| 10 * If the file is a ZIP archive (ends with `.zip`), it will be unzipped when | |
| 11 installed. | |
| 12 | |
| 13 It sucks that we're committing some binaries to the repository, but it's the | |
| 14 best option to have a cross-platform self-contained unit test that really | |
| 15 exercises the interesting parts of the setup. The `virtualenv` binary is the | |
| 16 only large binary, though. It's downloaded directly from the Internet. | |
|
iannucci
2017/02/23 00:54:21
It looks like it's committed to the repo as part o
dnj
2017/02/23 20:38:49
ATM, this package is not bound to CIPD or our infr
| |
| 17 | |
| 18 The other binaries are wheels, generated from source that is also checked into | |
| 19 the `test_data` directory. These wheels have equivalent `.src` components that | |
| 20 were used to generate them. | |
| 21 | |
| 22 To build a wheel from source, `cd` into a source directory and run: | |
| 23 | |
| 24 $ python setup.py bdist_wheel | |
| 25 | |
| 26 The wheel will be created in `/dist/`. | |
| 27 | |
| 28 However, note that it is unlikely any of the wheels will actually need to be | |
| 29 regenerated, since they are simple artifacts. | |
| OLD | NEW |