Skip to content
Snippets Groups Projects
Commit 795d3255 authored by Georgiy Eterevskiy's avatar Georgiy Eterevskiy
Browse files

Fix command `install`

parent 39a4619c
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment