from os import path from setuptools import setup, find_packages from src.version import version install_requires = [ "requests>=2.26", "PySide6==6.7.3", "shiboken6==6.7.3", "toml>=0.10.2", "pillow>=8.4", # On Linux the app ships a pure-Python Protocol18 decoder and captures with # AF_PACKET directly, so no native backend is needed. On Windows/macOS the # pyaoaddons packet capture backend is still used; only 0.2.8 is released # and it ships prebuilt wheels for CPython 3.6-3.10 only. On newer Python # versions it must be built from source (see the 'capture' extra). "pyaoaddons==0.2.8; python_version < '3.11' and sys_platform != 'linux'", ] extras_require = { # Force installation of the packet capture backend, e.g. when building # pyaoaddons from source or using an unsupported Python version. 'capture': ['pyaoaddons==0.2.8'], } this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='aostats', author="Wiktor Mazur", version=version, author_email="wiktormazur1@gmail.com", url="https://github.com/mazurwiktor/albion-online-stats", long_description=long_description, long_description_content_type='text/markdown', packages=find_packages('.', include=('src*')), include_package_data=True, install_requires=install_requires, extras_require=extras_require, entry_points={ 'console_scripts': [ 'aostats = src.__main__:run' ] })