Fixed icons and launchers

This commit is contained in:
Wiktor Mazur
2021-07-24 15:03:33 +02:00
parent 0c0f168422
commit a62ab706e2
6 changed files with 21 additions and 10 deletions
+2
View File
@@ -0,0 +1,2 @@
include README.md
include src/assets/*.png
+6 -1
View File
@@ -1,5 +1,10 @@
TITLE Albion online stats launcher
python -m venv python_env python -m venv python_env
call .\python_env\Scripts\activate.bat call .\python_env\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install aostats python -m pip install aostats
start aostats python -m pip install --upgrade aostats
call aostats
+5 -1
View File
@@ -1,6 +1,10 @@
#!/bin/bash #!/bin/bash
python -m venv python_env python -m venv python_env
source python_env/bin/activate source python_env/bin/activate
python -m pip install aostats python -m pip install aostats
start aostats python -m pip install --upgrade aostats
aostats
+2 -3
View File
@@ -1,6 +1,6 @@
from os import path from os import path
from setuptools import setup, find_packages from setuptools import setup, find_packages
from src.utils import version from src.version import version
install_requires = [ install_requires = [
"requests==2.26.0", "requests==2.26.0",
@@ -17,13 +17,12 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
setup( setup(
name='aostats', name='aostats',
author="Wiktor Mazur", author="Wiktor Mazur",
version=version.get_version(), version=version,
author_email="wiktormazur1@gmail.com", author_email="wiktormazur1@gmail.com",
url="https://github.com/mazurwiktor/albion-online-stats", url="https://github.com/mazurwiktor/albion-online-stats",
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
packages=find_packages('.', include=('src*')), packages=find_packages('.', include=('src*')),
package_data={'': ['**/*.png']},
include_package_data=True, include_package_data=True,
install_requires=install_requires, install_requires=install_requires,
entry_points={ entry_points={
+3 -3
View File
@@ -1,13 +1,13 @@
import os import os
import requests import requests
_version = "1.0.0" from ..version import version
latest_url = "https://github.com/mazurwiktor/albion-online-stats/releases/latest" latest_url = "https://github.com/mazurwiktor/albion-online-stats/releases/latest"
def get_version(): def get_version():
return _version return version
def latest_version(): def latest_version():
@@ -18,4 +18,4 @@ def latest_version():
def current_version(): def current_version():
return _version return version
+1
View File
@@ -0,0 +1 @@
version = "1.0.3"