Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-python
Manage
Activity
Members
Plan
Custom issue tracker
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-python
Commits
795d3255
Commit
795d3255
authored
4 years ago
by
Georgiy Eterevskiy
Browse files
Options
Downloads
Patches
Plain Diff
Fix command `install`
parent
39a4619c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+7
-4
7 additions, 4 deletions
Makefile
with
7 additions
and
4 deletions
Makefile
+
7
−
4
View file @
795d3255
...
@@ -41,13 +41,16 @@ clean-proto:
...
@@ -41,13 +41,16 @@ clean-proto:
find
.
-name
'*_pb2.py'
-exec
rm
-f
{}
+
find
.
-name
'*_pb2.py'
-exec
rm
-f
{}
+
find
.
-name
'*_pb2_grpc.py'
-exec
rm
-f
{}
+
find
.
-name
'*_pb2_grpc.py'
-exec
rm
-f
{}
+
install-requirements
:
install-
build-
requirements
:
pip
install
-r
build-requirements.txt
pip
install
-r
build-requirements.txt
lint
:
install-requirements
install-requirements
:
pip
install
-r
requirements.txt
lint
:
install-build-requirements
flake8 perxis/
flake8 perxis/
generate
:
clean-proto install-requirements
generate
:
clean-proto install-
build-
requirements
cp
-avR
$(
SRC_PROTO_FILES_DIR
)
$(
COPIES_PROTO_FILES_DIR
)
cp
-avR
$(
SRC_PROTO_FILES_DIR
)
$(
COPIES_PROTO_FILES_DIR
)
mv
$(
COPIES_PROTO_FILES_DIR
)
/collections
$(
COPIES_PROTO_FILES_DIR
)
/collections_perxis
mv
$(
COPIES_PROTO_FILES_DIR
)
/collections
$(
COPIES_PROTO_FILES_DIR
)
/collections_perxis
find
$(
COPIES_PROTO_FILES_DIR
)
-name
'*.proto'
-exec
python3
-m
grpc_tools.protoc
-I
${
COPIES_PROTO_FILES_DIR
}
--python_out
=
$(
OUTPUT_FILES_DIR
)
--grpc_python_out
=
$(
OUTPUT_FILES_DIR
)
{}
+
find
$(
COPIES_PROTO_FILES_DIR
)
-name
'*.proto'
-exec
python3
-m
grpc_tools.protoc
-I
${
COPIES_PROTO_FILES_DIR
}
--python_out
=
$(
OUTPUT_FILES_DIR
)
--grpc_python_out
=
$(
OUTPUT_FILES_DIR
)
{}
+
...
@@ -63,5 +66,5 @@ release: clean generate
...
@@ -63,5 +66,5 @@ release: clean generate
devpi login root
--password
$(
PYPI_PASSWORD
)
devpi login root
--password
$(
PYPI_PASSWORD
)
devpi upload
--no-vcs
devpi upload
--no-vcs
install
:
clean generate
install
:
clean generate
install-requirements
python setup.py
install
python setup.py
install
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment