| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. | |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | |
| 3 // that can be found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto3"; | |
| 6 | |
| 7 package env; | |
| 8 | |
| 9 | |
| 10 message Spec { | |
| 11 // The Python version to use. This should be of the form: | |
| 12 // "Major[.Minor[.Patch]]" | |
| 13 // | |
| 14 // If specified, | |
| 15 // - The Major version will be enforced absolutely. Python 3 will not be | |
| 16 // preferred over Python 2 because '3' is greater than '2'. | |
| 17 // - The remaining versions, if specified, will be regarded as *minimum* | |
| 18 // versions. In other words, if "2.7.4" is specified and the system has | |
| 19 // "2.7.12", that will suffice. Similarly, "2.6" would accept a "2.7" | |
| 20 // interpreter. | |
| 21 // | |
| 22 // If empty, the default Python interpreter ("python") will be used. | |
| 23 string python_version = 1; | |
| 24 | |
| 25 // A definition for a remote package. The type of package depends on the | |
| 26 // configured package resolver. | |
| 27 message Package { | |
| 28 // The path of the package. | |
| 29 // | |
| 30 // - For CIPD, this is the package name. | |
| 31 string path = 1; | |
| 32 | |
| 33 // The package version. | |
| 34 // | |
| 35 // - For CIPD, this will be any recognized CIPD version (i.e., ID, tag, or | |
| 36 // ref). | |
| 37 string version = 2; | |
| 38 } | |
| 39 repeated Package wheel = 2; | |
| 40 | |
| 41 // The VirtualEnv package. | |
| 42 // | |
| 43 // This should be left empty to use the `vpython` default package | |
| 44 // (recommended). | |
| 45 Package virtualenv = 3; | |
| 46 } | |
| OLD | NEW |