mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 08:43:26 +03:00
.. | ||
third_party | ||
__init__.py | ||
.gitignore | ||
.python-version | ||
build_deps.sh | ||
build_nvimserver_for_local_dev.sh | ||
build_release.sh | ||
build_vimr_dev.sh | ||
build_vimr.sh | ||
download_nvimserver.sh | ||
download_vimr_deps.sh | ||
generate_autocmds.py | ||
generate_cursor_shape.py | ||
generate_sources.sh | ||
notarize_vimr.sh | ||
README.md | ||
requirements.txt | ||
resources | ||
set_appcast.py | ||
set_new_versions.sh | ||
setup.py | ||
sign_update | ||
sign_vimr.sh | ||
wait_for_notarization.py | ||
watch_nvimserver_and_build.sh | ||
workflows |
How to use
cd
into${PROJECT_ROOT}/bin
, this directory.- Install pyenv and pyenv-virtuelenv.
- Install Python 3.9.7 using pyenv.
- Create a virtualenv with the name
com.qvacua.VimR.bin
. - Ensure that you're running the Python in the virtualenv by
pyenv which python /${HOME}/.pyenv/versions/com.qvacua.VimR.bin/bin/python
- Install the requirements
pip install -r requirements.txt python setup.py develop
How to build third party dependencies
- Run
build.py
with, for example, the following arguments$ python build.py --arm64-deployment-target=11.00 --x86_64-deployment-target=10.13 \ --xz-version 5.2.4 --pcre-version 8.43 --ag-version 2.2.0
Built artifacts
The resulting artifacts are structured as follows
./third_party
vimr-deps
lib
liba.a
libb.a
...
include
a.h
b.h
...
liba
include
a.h
...
libb
include
b.h
...