- Build python3 and python2 in the same directory - Use %py2_build, %py3_build, %py2_install and %py2_install - Move python2 package in its own subpackage
12 lines
209 B
Python
12 lines
209 B
Python
#!/usr/bin/env python3
|
|
|
|
import toml_test
|
|
import toml
|
|
import sys
|
|
import json
|
|
|
|
if __name__ == '__main__':
|
|
tdata = toml.loads(sys.stdin.read())
|
|
tagged = toml_test.tag(tdata)
|
|
print(json.dumps(tagged))
|