Lines Matching refs:os
24 import os
30 ACLOUD_DIR = os.path.realpath(os.path.dirname(__file__))
39 if "PROTOC" in os.environ and os.path.exists(os.environ["PROTOC"]):
40 PROTOC = os.environ["PROTOC"]
58 if not os.path.exists(output) or (
59 os.path.exists(source) and
60 os.path.getmtime(source) > os.path.getmtime(output)):
63 if not os.path.exists(source):
80 GenerateProto(os.path.join(ACLOUD_DIR, "internal/proto/user_config.proto"))
81 GenerateProto(os.path.join(ACLOUD_DIR, "internal/proto/internal_config.proto"))
82 open(os.path.join(ACLOUD_DIR, "internal/proto/__init__.py"), "a").close()