Allow "-" to be part of Python file names
Test: m -j py-setuptools Bug: b/79751992 Change-Id: I4cd0cf8671a9bb912a8ba819265274ab0c9e0074
This commit is contained in:
parent
78a01965d0
commit
1a479b6ecd
|
@ -206,7 +206,7 @@ type dependencyTag struct {
|
|||
var (
|
||||
pythonLibTag = dependencyTag{name: "pythonLib"}
|
||||
launcherTag = dependencyTag{name: "launcher"}
|
||||
pyIdentifierRegexp = regexp.MustCompile(`^([a-z]|[A-Z]|_)([a-z]|[A-Z]|[0-9]|_)*$`)
|
||||
pyIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
|
||||
pyExt = ".py"
|
||||
protoExt = ".proto"
|
||||
pyVersion2 = "PY2"
|
||||
|
|
Loading…
Reference in New Issue