fix: Ubuntu 19.04 pip3 install issue

This commit is contained in:
Vinicius Moreira
2019-09-18 10:39:29 -03:00
parent ce43a09ea7
commit e52616e0e5
4 changed files with 58 additions and 54 deletions

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ __pycache__
*.orig *.orig
dist dist
*.egg-info *.egg-info
build

View File

@@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixes: ### Fixes:
- cached Flatpak app current version - cached Flatpak app current version
- disk loader not filling all requested cached data from the disk - disk loader not filling all requested cached data from the disk
- [Ubuntu 19.04 pip3 install issue] (https://github.com/vinifmor/bauh/issues/3)
### Code ### Code
- Code was internally modularized as: **api** (conceptual classes used to create custom software managers), **gems** (software managers), **commons** (common classes shared between the **view** and **gems**), **view** (UI code) - Code was internally modularized as: **api** (conceptual classes used to create custom software managers), **gems** (software managers), **commons** (common classes shared between the **view** and **gems**), **view** (UI code)

View File

@@ -14,6 +14,8 @@ from bauh.view.qt.window import ManageWindow
from bauh.view.util.cache import CacheCleaner, DefaultMemoryCacheFactory from bauh.view.util.cache import CacheCleaner, DefaultMemoryCacheFactory
from bauh.view.util.disk import DefaultDiskCacheLoaderFactory from bauh.view.util.disk import DefaultDiskCacheLoaderFactory
def main():
args = app_args.read() args = app_args.read()
logger = logs.new_logger(__app_name__, bool(args.logs)) logger = logs.new_logger(__app_name__, bool(args.logs))
app_args.validate(args, logger) app_args.validate(args, logger)

View File

@@ -35,7 +35,7 @@ setup(
install_requires=requirements, install_requires=requirements,
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
"{name}={name}.app".format(name=NAME) "{name}={name}.app:main".format(name=NAME)
] ]
}, },
include_package_data=True, include_package_data=True,