Skip to content

Commit

Permalink
update build python-fuse
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Jan 11, 2025
1 parent c49a242 commit 965891f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python3 setup.py install --prefix=${PWD} --install-lib=install
cd -
tree .
cp -a submodule/python-fuse/install/fuse*/fuse* py_modules/site-packages/
rsync -a --exclude=*.pyc --exclude=__pycache__ submodule/python-fuse/install/fuse*/fuse* py_modules/site-packages/
- name: change log level
run: |
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ deploy-steamdeck: ## Deploy plugin build to steamdeck
--exclude='.env' . \
--exclude='Makefile' . \
--exclude='submodule' . \
--exclude='__pycache__' . \
./ $(DECK_USER)@$(DECK_HOST):$(DECK_HOME)/homebrew/plugins/$(PLUGIN_FOLDER)/
@ssh $(DECK_USER)@$(DECK_HOST) -p $(DECK_PORT) -i $(DECK_KEY) \
'chmod -v 755 $(DECK_HOME)/homebrew/plugins/'
Expand All @@ -87,8 +88,8 @@ local-fuse: ## Copy fuse module to local site-packages
@rm -rf ./submodule/python-fuse/build
@cd ./submodule/python-fuse && \
PYTHONPATH=$(PWD)/py_modules/site-packages \
python3 setup.py install --prefix=$(PWD) --install-lib=install && \
cp -r ./install/fuse*/fuse* $(PWD)/py_modules/site-packages/
python3 setup.py install --prefix=dist/install --install-lib=dist/install && \
rsync -a --exclude=*.pyc --exclude=__pycache__ ./dist/install/fuse*/fuse* $(PWD)/py_modules/site-packages/
@rm -rf $(PWD)/submodule/python-fuse/build


Expand Down

0 comments on commit 965891f

Please sign in to comment.