add doc to module file
This commit is contained in:
parent
24d49165f7
commit
077fe2a5a0
13
make_libs.py
13
make_libs.py
@ -1,5 +1,16 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
"""
|
||||||
|
Script for generate Minecraft *.jar libraries
|
||||||
|
from version.json file.
|
||||||
|
|
||||||
|
usage^
|
||||||
|
$ ./make_libs.py > libs.txt
|
||||||
|
|
||||||
|
for windows need replace `$MC_DIR` to `%MC_DIR%`
|
||||||
|
and `:` to `;`
|
||||||
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
__author__ = 'Alexander Popov'
|
__author__ = 'Alexander Popov'
|
||||||
@ -8,6 +19,8 @@ __license__ = 'Unlicense'
|
|||||||
|
|
||||||
|
|
||||||
def parse_libs():
|
def parse_libs():
|
||||||
|
""" Make libraries list from version.json file """
|
||||||
|
|
||||||
_ = []
|
_ = []
|
||||||
|
|
||||||
with open('./version.json', 'r', encoding='utf-8') as f:
|
with open('./version.json', 'r', encoding='utf-8') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user