tretrauit
a5659f7ff3
chore: rename gui.py to cli.py fix: internal downloader can resume download now. feat: add verify_game, verify_from_pkg_version, clear_cache to installer.py. feat: add clear_cache to patcher.py. fix: linux now check for pkexec before executing it. fix: add get_name to voicepack.py, latest.py, diff.py to get name from path (since the developer didn't set a name to these files in the sdk url) chore: remove deprecation message in read_version_from_config in installer.py misc: use chunk from self._download_chunk instead of being hardcoded to 8192. fix: is_telemetry_blocked will only wait 15s for a connection. chore: move appdirs to constants.py This commit refactor almost all functions to be compatible with asyncio, also restructured CLI to use asyncio.run on main function instead of executing it randomly. Also prioritize the use of asyncio.gather, sometimes making tasks faster
28 lines
870 B
Python
28 lines
870 B
Python
import pathlib
|
|
from setuptools import setup
|
|
|
|
# The directory containing this file
|
|
HERE = pathlib.Path(__file__).parent
|
|
|
|
# The text of the README file
|
|
README = (HERE / "README.md").read_text()
|
|
|
|
setup(
|
|
name='worthless',
|
|
version='2.0.0',
|
|
packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'],
|
|
url='https://git.froggi.es/tretrauit/worthless-launcher',
|
|
license='MIT License',
|
|
author='tretrauit',
|
|
author_email='tretrauit@gmail.com',
|
|
description='A worthless CLI launcher written in Python.',
|
|
long_description=README,
|
|
long_description_content_type="text/markdown",
|
|
classifiers=[
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3"
|
|
],
|
|
include_package_data=True,
|
|
install_requires=["aiohttp", "appdirs", "aiopath", "aiofiles"]
|
|
)
|