mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
M3 namespace migration: complete Phase B, partial Phase D, docs and tests
- Native runtime under bearhub/ (api, commons, gems, view/util, view/core, view/qt) - bauh/ compatibility re-export shims for legacy imports - Phase D: canonical __version__/__app_name__ in bearhub/__init__.py; pyproject.toml and setup.py point at bearhub package - Native gem loader at bearhub/view/core/gems.py - Namespace compatibility tests (159 tests passing) - Documentation: CHANGELOG [Unreleased], NAMESPACE_MIGRATION, ROADMAP, README, CONTRIBUTING, docs/qt6-migration.md, packaging/aur/README.md
This commit is contained in:
11
setup.py
11
setup.py
@@ -10,7 +10,7 @@ DESCRIPTION = (
|
||||
AUTHOR = "Vinicius Moreira"
|
||||
AUTHOR_EMAIL = "vinicius_fmoreira@hotmail.com"
|
||||
DIST_NAME = 'bearhub'
|
||||
APP_PACKAGE = 'bauh'
|
||||
APP_PACKAGE = 'bearhub'
|
||||
URL = "https://github.com/spalencsar/" + DIST_NAME
|
||||
|
||||
file_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
@@ -23,7 +23,10 @@ else:
|
||||
|
||||
|
||||
with open(file_dir + '/{}/__init__.py'.format(APP_PACKAGE), 'r') as f:
|
||||
exec(f.readlines()[0])
|
||||
for line in f:
|
||||
if line.startswith('__version__'):
|
||||
exec(line)
|
||||
break
|
||||
|
||||
|
||||
setup(
|
||||
@@ -38,6 +41,7 @@ setup(
|
||||
packages=find_packages(exclude=["tests.*", "tests"]),
|
||||
package_data={
|
||||
APP_PACKAGE: [
|
||||
"desktop/*",
|
||||
"view/resources/locale/*",
|
||||
"view/resources/img/*",
|
||||
"view/resources/style/*",
|
||||
@@ -45,7 +49,6 @@ setup(
|
||||
"gems/*/resources/img/*",
|
||||
"gems/*/resources/locale/*",
|
||||
],
|
||||
"bearhub": ["desktop/*"],
|
||||
},
|
||||
install_requires=requirements,
|
||||
test_suite="tests",
|
||||
@@ -66,4 +69,4 @@ setup(
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8'
|
||||
]
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user