mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
Modernize runtime compatibility and initialize Bearhub fork
This commit is contained in:
19
setup.py
19
setup.py
@@ -4,13 +4,14 @@ import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
DESCRIPTION = (
|
||||
"Graphical interface to manage Linux applications (AppImage, Arch / AUR, Flatpak, Snap and Web)"
|
||||
"Community-maintained fork of bauh focused on modern Linux compatibility"
|
||||
)
|
||||
|
||||
AUTHOR = "Vinicius Moreira"
|
||||
AUTHOR_EMAIL = "vinicius_fmoreira@hotmail.com"
|
||||
NAME = 'bauh'
|
||||
URL = "https://github.com/vinifmor/" + NAME
|
||||
DIST_NAME = 'bearhub'
|
||||
APP_PACKAGE = 'bauh'
|
||||
URL = "https://github.com/spalencsar/" + DIST_NAME
|
||||
|
||||
file_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
@@ -21,12 +22,12 @@ else:
|
||||
requirements = [line.strip() for line in f.readlines() if line]
|
||||
|
||||
|
||||
with open(file_dir + '/{}/__init__.py'.format(NAME), 'r') as f:
|
||||
with open(file_dir + '/{}/__init__.py'.format(APP_PACKAGE), 'r') as f:
|
||||
exec(f.readlines()[0])
|
||||
|
||||
|
||||
setup(
|
||||
name=NAME,
|
||||
name=DIST_NAME,
|
||||
version=eval('__version__'),
|
||||
description=DESCRIPTION,
|
||||
long_description=DESCRIPTION,
|
||||
@@ -35,14 +36,14 @@ setup(
|
||||
python_requires=">=3.5",
|
||||
url=URL,
|
||||
packages=find_packages(exclude=["tests.*", "tests"]),
|
||||
package_data={NAME: ["view/resources/locale/*", "view/resources/img/*", "view/resources/style/*", 'view/resources/style/*/img/*', "gems/*/resources/img/*", "gems/*/resources/locale/*", "desktop/*"]},
|
||||
package_data={APP_PACKAGE: ["view/resources/locale/*", "view/resources/img/*", "view/resources/style/*", 'view/resources/style/*/img/*', "gems/*/resources/img/*", "gems/*/resources/locale/*", "desktop/*"]},
|
||||
install_requires=requirements,
|
||||
test_suite="tests",
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"{name}={name}.app:main".format(name=NAME),
|
||||
"{name}-tray={name}.app:tray".format(name=NAME),
|
||||
"{name}-cli={name}.cli.app:main".format(name=NAME)
|
||||
"bearhub=bauh.app:main",
|
||||
"bearhub-tray=bauh.app:tray",
|
||||
"bearhub-cli=bauh.cli.app:main"
|
||||
]
|
||||
},
|
||||
include_package_data=True,
|
||||
|
||||
Reference in New Issue
Block a user