mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 16:21:14 -03:00
doc: upd build instructions
Signed-off-by: Alexander Bezzubov <alexander.bezzubov@jetbrains.com>
This commit is contained in:
parent
5d58b1aaaf
commit
7ee65cc9d0
@ -5,7 +5,8 @@ Python bindings through cFFI (API, out-of-line) for calling enry Go functions ex
|
|||||||
## Build
|
## Build
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd .. && make static
|
$ pushd .. && make static && popd
|
||||||
|
$ pip install -r requirments.txt
|
||||||
$ python build_enry.py
|
$ python build_enry.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ logger = getLogger(__name__)
|
|||||||
def build_go_archive():
|
def build_go_archive():
|
||||||
logger.info("Building C archive with static library")
|
logger.info("Building C archive with static library")
|
||||||
if shutil.which("go") is None:
|
if shutil.which("go") is None:
|
||||||
raise EnvironmentError("You should have go installed and available on your path in order to build this module")
|
raise EnvironmentError("You should have Go installed and available on your path in order to build this module")
|
||||||
subprocess.check_output(["make", "static"], cwd="../")
|
subprocess.check_output(["make", "static"], cwd="../")
|
||||||
logger.info("C archive successfully built")
|
logger.info("C archive successfully built")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user