Skip to content

Commit

Permalink
Fixed icons and launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
mazurwiktor committed Jul 24, 2021
1 parent 0c0f168 commit a62ab70
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 10 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include README.md
include src/assets/*.png
9 changes: 7 additions & 2 deletions launchers/albion-online-stats.bat
@@ -1,5 +1,10 @@
TITLE Albion online stats launcher

python -m venv python_env
call .\python_env\Scripts\activate.bat

python -m pip install aostats
start aostats
python -m pip install --upgrade pip
python -m pip install aostats
python -m pip install --upgrade aostats

call aostats
8 changes: 6 additions & 2 deletions launchers/albion-online-stats.sh
@@ -1,6 +1,10 @@
#!/bin/bash

python -m venv python_env

source python_env/bin/activate
python -m pip install aostats
start aostats

python -m pip install aostats
python -m pip install --upgrade aostats

aostats
5 changes: 2 additions & 3 deletions setup.py
@@ -1,6 +1,6 @@
from os import path
from setuptools import setup, find_packages
from src.utils import version
from src.version import version

install_requires = [
"requests==2.26.0",
Expand All @@ -17,13 +17,12 @@
setup(
name='aostats',
author="Wiktor Mazur",
version=version.get_version(),
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*')),
package_data={'': ['**/*.png']},
include_package_data=True,
install_requires=install_requires,
entry_points={
Expand Down
6 changes: 3 additions & 3 deletions src/utils/version.py
@@ -1,13 +1,13 @@
import os
import requests

_version = "1.0.0"
from ..version import version

latest_url = "https://github.com/mazurwiktor/albion-online-stats/releases/latest"


def get_version():
return _version
return version


def latest_version():
Expand All @@ -18,4 +18,4 @@ def latest_version():


def current_version():
return _version
return version
1 change: 1 addition & 0 deletions src/version.py
@@ -0,0 +1 @@
version = "1.0.3"

0 comments on commit a62ab70

Please sign in to comment.