We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061d5b6 commit 813cf60Copy full SHA for 813cf60
sc2reader/scripts/sc2parse.py
@@ -0,0 +1,12 @@
1
+#!/usr/bin/env python
2
+# -*- coding: utf-8 -*-
3
+
4
+import sys
5
+import sc2reader
6
7
+def main():
8
+ for replay in sc2reader.load_replays(sys.argv[1:], verbose=True):
9
+ pass
10
11
+if __name__ == '__main__':
12
+ main()
setup.py
@@ -32,7 +32,8 @@
32
'sc2printer = sc2reader.scripts.sc2printer:main',
33
'sc2store = sc2reader.scripts.sc2store:main',
34
'sc2replayer = sc2reader.scripts.sc2replayer:main',
35
- 'sc2boprinter = sc2reader.scripts.sc2boprinter:main'
+ 'sc2boprinter = sc2reader.scripts.sc2boprinter:main',
36
+ 'sc2parse = sc2reader.scripts.sc2parse:main',
37
]
38
},
39
install_requires=['mpyq','argparse'] if float(sys.version[:3]) < 2.7 else ['mpyq'],
0 commit comments