mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 17:31:02 +02:00
Code review: fixed comments
This commit is contained in:
parent
d8f0505fc9
commit
f3b46ad15c
4
setup.py
4
setup.py
@ -24,7 +24,7 @@ MODULE_SOURCES = ['cpp-jsonnet/python/_jsonnet.c']
|
|||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
"""
|
"""
|
||||||
Parses the version out of libjsonnet.h
|
Parses the version out of vm.go
|
||||||
"""
|
"""
|
||||||
with open(os.path.join(DIR, 'vm.go')) as f:
|
with open(os.path.join(DIR, 'vm.go')) as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
@ -41,7 +41,7 @@ class BuildJsonnetExt(BuildExt):
|
|||||||
p.wait()
|
p.wait()
|
||||||
|
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
raise Exception('Could not build libgojsonnet.so')
|
raise Exception('Could not build libgojsonnet.a')
|
||||||
|
|
||||||
BuildExt.run(self)
|
BuildExt.run(self)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user