Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: vpython/api/env/spec.proto

Issue 2705623003: vpython: Add environment spec package. (Closed)
Patch Set: env to vpython, comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « vpython/api/env/gen.go ('k') | vpython/api/env/spec.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « vpython/api/env/gen.go ('k') | vpython/api/env/spec.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698