mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 07:13:24 +03:00
Move files around
This commit is contained in:
parent
c01bc0be87
commit
87688e6ed3
4
third-party/.gitignore
vendored
4
third-party/.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
vimr-deps*
|
/libag
|
||||||
|
/libxz
|
||||||
|
/libpcre
|
||||||
|
22
third-party/README.md
vendored
22
third-party/README.md
vendored
@ -1,6 +1,6 @@
|
|||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
* `cd` into `/third-party`, this directory.
|
* `cd` into `${PROJECT_ROOT}/third-party`, this directory.
|
||||||
* Install pyenv and pyenv-virtuelenv.
|
* Install pyenv and pyenv-virtuelenv.
|
||||||
* Install Python 3.8.x using pyenv.
|
* Install Python 3.8.x using pyenv.
|
||||||
* Create a virtualenv with the name `com.qvacua.VimR.third-party`.
|
* Create a virtualenv with the name `com.qvacua.VimR.third-party`.
|
||||||
@ -9,6 +9,10 @@
|
|||||||
$ pyenv which python
|
$ pyenv which python
|
||||||
/${HOME}/.pyenv/versions/com.qvacua.VimR.third-party/bin/python
|
/${HOME}/.pyenv/versions/com.qvacua.VimR.third-party/bin/python
|
||||||
```
|
```
|
||||||
|
* Install the requirements
|
||||||
|
```
|
||||||
|
$ pip install -r requirements.txt
|
||||||
|
```
|
||||||
* Do the following
|
* Do the following
|
||||||
```
|
```
|
||||||
$ python setup.py develop
|
$ python setup.py develop
|
||||||
@ -22,12 +26,18 @@
|
|||||||
## Built artifacts
|
## Built artifacts
|
||||||
|
|
||||||
The resulting artifacts are structured as follows
|
The resulting artifacts are structured as follows
|
||||||
|
|
||||||
```
|
```
|
||||||
third-party
|
third-party
|
||||||
lib
|
vimr-deps
|
||||||
liba.a
|
lib
|
||||||
libb.a
|
liba.a
|
||||||
...
|
libb.a
|
||||||
|
...
|
||||||
|
include
|
||||||
|
a.h
|
||||||
|
b.h
|
||||||
|
...
|
||||||
liba
|
liba
|
||||||
include
|
include
|
||||||
a.h
|
a.h
|
||||||
@ -44,4 +54,4 @@ third-party
|
|||||||
* Add the virtualenv `com.qvacua.VimR.third-party` as Python SDK.
|
* Add the virtualenv `com.qvacua.VimR.third-party` as Python SDK.
|
||||||
* Set the project SDK to the virtualenv.
|
* Set the project SDK to the virtualenv.
|
||||||
* Set the content root to Sources
|
* Set the content root to Sources
|
||||||
* Optional: Set all install paths, i.e. `lib*/` to Excluded.
|
* Optional: Set all install paths, i.e. `vimr-deps` and `lib*/`, to Excluded.
|
16
third-party/build.py
vendored
16
third-party/build.py
vendored
@ -2,12 +2,10 @@ import argparse
|
|||||||
import pathlib
|
import pathlib
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
import package
|
|
||||||
from builder import Builder
|
from builder import Builder
|
||||||
from config import Config
|
from config import Config
|
||||||
from deps import ag, pcre, xz
|
from deps import ag, pcre, xz
|
||||||
from deps.ag import AgBuilder
|
from deps.ag import AgBuilder
|
||||||
from utils.shell import shell
|
|
||||||
|
|
||||||
DEPS_FILE_NAME = ".deps"
|
DEPS_FILE_NAME = ".deps"
|
||||||
PACKAGE_NAME = "vimr-deps"
|
PACKAGE_NAME = "vimr-deps"
|
||||||
@ -43,14 +41,6 @@ def parse_args() -> argparse.Namespace:
|
|||||||
required=False,
|
required=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
|
||||||
"--local-dev",
|
|
||||||
action="store",
|
|
||||||
dest="local_dev",
|
|
||||||
type=bool,
|
|
||||||
required=False
|
|
||||||
)
|
|
||||||
|
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
@ -122,9 +112,3 @@ if __name__ == "__main__":
|
|||||||
builders["xz"].build()
|
builders["xz"].build()
|
||||||
builders["pcre"].build()
|
builders["pcre"].build()
|
||||||
builders["ag"].build()
|
builders["ag"].build()
|
||||||
|
|
||||||
shell(package.package_command.substitute(dict(
|
|
||||||
parent_of_install_path=install_path.parent,
|
|
||||||
install_path=install_path,
|
|
||||||
package_name=PACKAGE_NAME,
|
|
||||||
)), cwd=cwd)
|
|
3
third-party/lib/libag.a
vendored
3
third-party/lib/libag.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6948a57f3d5c728918d928017886b88ac4ae0a869e7c8dd1dadd881fb3f687f4
|
|
||||||
size 277680
|
|
3
third-party/lib/liblzma.a
vendored
3
third-party/lib/liblzma.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6e893e14d91cbc5ec317be735ea78b7566ee118f82695400255a972527b84a1f
|
|
||||||
size 1033720
|
|
3
third-party/lib/libpcre.a
vendored
3
third-party/lib/libpcre.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ad37d6976b46377917b64d95e2d96f99c7b28336743ff844439af0f390212179
|
|
||||||
size 4353080
|
|
3
third-party/lib/libpcre16.a
vendored
3
third-party/lib/libpcre16.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2a790a333bbcee7779cfb1d9511f9bdbb9726c1c9251276b3667a0e9c82c0eb3
|
|
||||||
size 4142840
|
|
3
third-party/lib/libpcre32.a
vendored
3
third-party/lib/libpcre32.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:02a4919497a87d8ad028bc5862ecba16d4f1bb9e94f1660140eb9f14a145a0e9
|
|
||||||
size 4090184
|
|
3
third-party/lib/libpcrecpp.a
vendored
3
third-party/lib/libpcrecpp.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fcd583a43b3bc53fe120e40dfb392840269fa17539ff66b54a69842554725a3a
|
|
||||||
size 47368
|
|
3
third-party/lib/libpcreposix.a
vendored
3
third-party/lib/libpcreposix.a
vendored
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ed3a0adbcaf476696f7ff79f8590b8cdfe8821522480b393ab7250c1f8ad2ced
|
|
||||||
size 12936
|
|
10
third-party/package.py
vendored
10
third-party/package.py
vendored
@ -1,10 +0,0 @@
|
|||||||
from string import Template
|
|
||||||
|
|
||||||
# language=bash
|
|
||||||
package_command = Template(
|
|
||||||
"""
|
|
||||||
pushd "${parent_of_install_path}" >/dev/null
|
|
||||||
tar cjvf "${package_name}.tar.bz2" "${package_name}"
|
|
||||||
popd >/dev/null
|
|
||||||
"""
|
|
||||||
)
|
|
3
third-party/vimr-deps/lib/libag.a
vendored
Normal file
3
third-party/vimr-deps/lib/libag.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:592ebe4ffcd7286e9e0ac892cd5094a4495bb1126032788fe4b7988fb6a2d9ca
|
||||||
|
size 277680
|
3
third-party/vimr-deps/lib/liblzma.a
vendored
Normal file
3
third-party/vimr-deps/lib/liblzma.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:027340b8dc77949eed85e02a465eda2cfc4509be48cb96467d9579903bdb2e69
|
||||||
|
size 1033720
|
3
third-party/vimr-deps/lib/libpcre.a
vendored
Normal file
3
third-party/vimr-deps/lib/libpcre.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4b1144e703d37a8eeb13d70477042589f79b9d413789f87bc074ff11639c900a
|
||||||
|
size 4353080
|
3
third-party/vimr-deps/lib/libpcre16.a
vendored
Normal file
3
third-party/vimr-deps/lib/libpcre16.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5101bd43fe752ba0faf32c2f91271b147e2f09610a3cbad7f9a3eb8e277b6bde
|
||||||
|
size 4142840
|
3
third-party/vimr-deps/lib/libpcre32.a
vendored
Normal file
3
third-party/vimr-deps/lib/libpcre32.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:795b01773a1cbb6398e4ebc825743e44145ba232889b0ead0698792a91108551
|
||||||
|
size 4090184
|
3
third-party/vimr-deps/lib/libpcrecpp.a
vendored
Normal file
3
third-party/vimr-deps/lib/libpcrecpp.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e0e093a845ed2651c44971c0275e404a40f3e81f661095c481fb5ad23a5f14ba
|
||||||
|
size 47368
|
3
third-party/vimr-deps/lib/libpcreposix.a
vendored
Normal file
3
third-party/vimr-deps/lib/libpcreposix.a
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:52aafc46fd392f51c9cdd6c750b35be12e744661151a4fd9e83e58aa6c6baaab
|
||||||
|
size 12936
|
Loading…
Reference in New Issue
Block a user