repo.or.cz
/
0compile.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Only display selected dependencies in autocompile output
[0compile.git]
/
tests
/
hello2
/
hello2
blob
0d024c16871ea3ffaf69f44384ebe5f1a8b8c77e
1
#!/usr/bin/env python
2
import
sys
,
os
3
print
"hello2"
4
with
open
(
os
.
path
.
join
(
os
.
environ
[
'ROXLIB'
],
'rox'
,
'__init__.py'
),
'r'
)
as
stream
:
5
for
line
in
stream
:
6
if
line
.
startswith
(
'roxlib_version = '
):
7
print
"Using ROX-Lib: "
+
line