Compare commits
No commits in common. "4d81453236eb7afb4df16dfeeb13a576cf2d5701" and "be36bdf21308443dd923a02a2bae75b2823a6b79" have entirely different histories.
4d81453236
...
be36bdf213
|
@ -16,7 +16,9 @@ def periodical_script():
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-p",
|
"-p",
|
||||||
"--eso_live_path",
|
"--eso_live_path",
|
||||||
default=Path.home().joinpath("ESO/live/"),
|
default=Path.home().joinpath(
|
||||||
|
".steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/"
|
||||||
|
),
|
||||||
help='default: "~/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/"',
|
help='default: "~/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/"',
|
||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
@ -67,44 +69,3 @@ def periodical_script():
|
||||||
|
|
||||||
compare.esoui_to_live(esoui_uris=esoui_uris, live_path=live_path)
|
compare.esoui_to_live(esoui_uris=esoui_uris, live_path=live_path)
|
||||||
tamriel_trade_centre.update(live_path=live_path)
|
tamriel_trade_centre.update(live_path=live_path)
|
||||||
|
|
||||||
|
|
||||||
def ttc():
|
|
||||||
parser = ArgumentParser(
|
|
||||||
description="Visit https://www.esoui.com/ to search for addons and their dependencies URLs. Edit addons.yaml in the ESO live path and add the URL for each addon for installation. "
|
|
||||||
)
|
|
||||||
parser.add_argument("-v", "--verbose", action="count", help="verbose logging")
|
|
||||||
parser.add_argument(
|
|
||||||
"-p",
|
|
||||||
"--eso_live_path",
|
|
||||||
default=Path.home().joinpath(
|
|
||||||
".steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/"
|
|
||||||
),
|
|
||||||
help='default: "~/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/Documents/Elder Scrolls Online/live/"',
|
|
||||||
)
|
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
if args.verbose:
|
|
||||||
logging.basicConfig(
|
|
||||||
level=logging.DEBUG,
|
|
||||||
format="%(asctime)s %(filename)s:%(lineno)d %(message)s",
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
logging.basicConfig(
|
|
||||||
level=logging.INFO,
|
|
||||||
format="%(message)s",
|
|
||||||
)
|
|
||||||
|
|
||||||
logging.info(args)
|
|
||||||
|
|
||||||
if isinstance(args.eso_live_path, str):
|
|
||||||
if args.eso_live_path[:2] == "~/":
|
|
||||||
args.eso_live_path = Path.home().joinpath(args.eso_live_path[2:])
|
|
||||||
|
|
||||||
live_path = Path(args.eso_live_path).joinpath("AddOns")
|
|
||||||
|
|
||||||
if not live_path.is_dir():
|
|
||||||
logging.error(f"eso_live_path_invalid_dir {live_path}")
|
|
||||||
return
|
|
||||||
|
|
||||||
tamriel_trade_centre.update(live_path=live_path)
|
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -5,10 +5,7 @@ setup(
|
||||||
version="0.0.1",
|
version="0.0.1",
|
||||||
packages=["banana"],
|
packages=["banana"],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": ["eso-banana-script = banana:scripts.periodical_script"],
|
||||||
"eso-banana-script = banana:scripts.periodical_script",
|
|
||||||
"eso-ttc = banana:scripts.ttc",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
python_requires=">3",
|
python_requires=">3",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
|
Loading…
Reference in New Issue