Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-py
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-py
Merge requests
!1
Реализована python библиотека для разработки программного обеспечения на базе Perxis
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Реализована python библиотека для разработки программного обеспечения на базе Perxis
feature/init-repo
into
master
Overview
5
Commits
1
Pipelines
0
Changes
47
Merged
Valera Shaitorov
requested to merge
feature/init-repo
into
master
2 years ago
Overview
5
Commits
1
Pipelines
0
Changes
1
Expand
https://tracker.yandex.ru/PRXS-628
Edited
2 years ago
by
Valera Shaitorov
0
0
Merge request reports
Compare
version 1
version 2
e893c852
2 years ago
version 1
9f6add3e
2 years ago
master (base)
and
latest version
latest version
4dc5cff4
1 commit,
2 years ago
version 2
e893c852
1 commit,
2 years ago
version 1
9f6add3e
1 commit,
2 years ago
Show latest version
1 file
+
3
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Makefile
+
3
−
14
Options
@@ -6,13 +6,8 @@ PROTOFILES= $(filter-out $(PROTODIR)/status/status.proto, $(ALLPROTO))
PROTOPYFILES
=
$(
PROTOFILES:.proto
=
_pb2.py
)
PROTOPYGRPCFILES
=
$(
PROTOFILES:.proto
=
_pb2_grpc.py
)
# Генерация grpc-клиентов для python
proto
:
proto-py
proto-doc
:
protoc-check $(PROTOMDFILES)
@
echo
"Generated all protobuf documentation"
proto-py
:
grpcio-tools-check $(PROTOPYFILES) $(PROTOPYGRPCFILES)
# Генерация grpc-клиентов для Python
proto
:
grpcio-tools-check $(PROTOPYFILES) $(PROTOPYGRPCFILES)
@
echo
"Generated all protobuf Python files"
%_pb2.py %_pb2_grpc.py
:
%.proto
@@ -23,13 +18,7 @@ proto-clean:
# Helpers
#
# Проверка, что установлен компилятор для Protobuf
protoc-check
:
ifeq
(,$(shell which protoc))
$(
error
"Protocol Buffers not found. Run
\"
brew install protobuf
\"
\
or visit
\"
https://grpc.io/docs/protoc-installation/#install-using-a-package-manager
\"
for more.
\n
"
)
endif
# Проверка, что установлен пакет grpcio-tools для генерации кода Python
grpcio-tools-check
:
ifeq
(,$(shell pip3 list | grep -F grpcio-tools))
$(
error
"grpcio-tools not found. Run
\"
pip3 install grpcio-tools
\"
\
Loading