Closed pierreglaser closed 4 years ago
IIRC inotify
is not supported on MacOS
(I mentioned it in the original PR message). Have you pip install
-ed the module? It should look for fswatch
instead at installation step.
Could you do python3 -m pip install -e path/to/inkscape-figures/
instead of pip3 setup.py install
to install inkscape-figures
? I can't reproduce your problem locally.
Also, you might want to check why you have a command not found: inkscape-figures
error message by zsh
.
Thank you for taking the time to test this branch by the way!
Ideally, you can first create a python virtual environment where you do solely an editable install of inkscape-figures:
python3 -m venv venv/
source venv/bin/activate
python3 -m pip install -e path/to/inkscape-figures
If you do this, you won't for sure have an inkscape-figures
entry in your site-packages
.
Also, what command triggers this error? pip install -e
? or a bash command triggered by a mapping in vim?
It did work perfectly! I will sort out the steps we figure out the problem later, if you have the same problem just see our conversations please!
Merging this! Thanks a lot for the pull request, @pierreglaser!
No worries. I'll try to be responsive to issues opened here related to MacOS support. Do not hesitate to ping me @gillescastel .
Hi,@pierreglaser the Inkscape-figures watch command seems strange when I run the command, there is not any responses nor log and of course the svg can not be saved as pdf and pdf_tex automatically
This PR aims to add support to MacOS. It includes:
rofi
is not supported on MacOSfswatch
instead ofinotify
for the same above reason.Depending on what is considered public API, I may have introduced some breaking changes. The CLI interface did not change, but the internals yes, due to some refactoring.
I currently tested it on my MacBook, but not on a linux system -- I may have broken some things along the way. I am going to check this branch on a linux machine ASAP.
cc @gillescastel just in case.