Skip to content

Commit 8e8c2c2

Browse files
committed
[TASK] now epics_event_pb2 ends up where it should
1 parent b17fd50 commit 8e8c2c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bact_archiver/carchiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66

77
from .epics_event import read_chunk, decode
8-
import bact_archiver_epics_event_pb2 as proto
8+
from . import epics_event_pb2 as proto
99
from .protocol_buffer import (Chunk, dtypes as _dtypes, decoder as _decoder,
1010
dbrtypes as _dbrtypes, dsize as _dsize)
1111
from .archiver import ArchiverBasis, convert_datetime_to_timestamp

bact_archiver/proto/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ py_gen2 = custom_target('epics_event_build_py',
1919
output: ['epics_event_pb2.py'],
2020
input: 'epics_event.proto',
2121
command: [
22-
protoc, '--proto_path=@SRCDIR@', '--python_out=@OUTDIR@', '@INPUT@'
22+
protoc, '--proto_path=@CURRENT_SOURCE_DIR@', '--python_out=@OUTDIR@', '@INPUT@'
2323
],
2424
install: true,
2525
install_dir: py.get_install_dir() / 'bact_archiver', # need to instalall epics_event_pb2.py

0 commit comments

Comments
 (0)