Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MBetterd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MBetterd
Commits
005f21b5
Commit
005f21b5
authored
Jan 12, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add main.py
parent
bd00481b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
10 deletions
+45
-10
fixture-manager.spec
fixture-manager.spec
+17
-2
hook-numpy.py
hooks/hook-numpy.py
+10
-8
main.py
main.py
+18
-0
No files found.
fixture-manager.spec
View file @
005f21b5
...
@@ -75,6 +75,22 @@ hidden_imports = [
...
@@ -75,6 +75,22 @@ hidden_imports = [
'app.utils.logging'
,
'app.utils.logging'
,
'app.models'
,
'app.models'
,
'app.database'
,
'app.database'
,
# NumPy specific imports
'numpy'
,
'numpy.core'
,
'numpy.core._multiarray_umath'
,
'numpy.core._dtype_ctypes'
,
'numpy.random'
,
'numpy.random.common'
,
'numpy.random.bounded_integers'
,
'numpy.random.entropy'
,
'numpy.random.mtrand'
,
'numpy.random._sfc64'
,
'numpy.random._philox'
,
'numpy.random._pcg64'
,
'numpy.random._mt19937'
,
'numpy.random.bit_generator'
,
'numpy.random._generator'
,
]
]
# Data files to include
# Data files to include
...
@@ -96,7 +112,7 @@ a = Analysis(
...
@@ -96,7 +112,7 @@ a = Analysis(
binaries
=
binaries
,
binaries
=
binaries
,
datas
=
datas
,
datas
=
datas
,
hiddenimports
=
hidden_imports
,
hiddenimports
=
hidden_imports
,
hookspath
=
[],
hookspath
=
[
'hooks'
],
hooksconfig
=
{},
hooksconfig
=
{},
runtime_hooks
=
[],
runtime_hooks
=
[],
excludes
=
[
excludes
=
[
...
@@ -123,7 +139,6 @@ a = Analysis(
...
@@ -123,7 +139,6 @@ a = Analysis(
'doctest'
,
'doctest'
,
'pdb'
,
'pdb'
,
'pydoc'
,
'pydoc'
,
'typing'
,
# Exclude typing package to avoid PyInstaller conflict
],
],
win_no_prefer_redirects
=
False
,
win_no_prefer_redirects
=
False
,
win_private_assemblies
=
False
,
win_private_assemblies
=
False
,
...
...
hooks/hook-numpy.py
View file @
005f21b5
...
@@ -58,19 +58,21 @@ hiddenimports += [
...
@@ -58,19 +58,21 @@ hiddenimports += [
# Add numpy ctypes files that are often missing
# Add numpy ctypes files that are often missing
import
numpy
as
np
import
numpy
as
np
import
os
import
os
import
glob
# Get numpy directory
# Get numpy directory
numpy_dir
=
os
.
path
.
dirname
(
np
.
__file__
)
numpy_dir
=
os
.
path
.
dirname
(
np
.
__file__
)
# Add c
types files
# Add c
ore files (including _core)
c
types_dir
=
os
.
path
.
join
(
numpy_dir
,
'core'
,
'include'
,
'numpy
'
)
c
ore_dir
=
os
.
path
.
join
(
numpy_dir
,
'core
'
)
if
os
.
path
.
exists
(
c
types
_dir
):
if
os
.
path
.
exists
(
c
ore
_dir
):
datas
.
append
((
c
types_dir
,
'numpy/core/include/numpy
'
))
datas
.
append
((
c
ore_dir
,
'numpy/core
'
))
# Add lib files
# Add specific _core files that might be missing
lib_dir
=
os
.
path
.
join
(
numpy_dir
,
'core'
,
'lib'
)
core_files
=
glob
.
glob
(
os
.
path
.
join
(
numpy_dir
,
'core'
,
'_core*'
))
if
os
.
path
.
exists
(
lib_dir
):
for
core_file
in
core_files
:
datas
.
append
((
lib_dir
,
'numpy/core/lib'
))
if
os
.
path
.
isfile
(
core_file
):
datas
.
append
((
core_file
,
os
.
path
.
join
(
'numpy'
,
'core'
,
os
.
path
.
basename
(
core_file
))))
# Add random files
# Add random files
random_dir
=
os
.
path
.
join
(
numpy_dir
,
'random'
)
random_dir
=
os
.
path
.
join
(
numpy_dir
,
'random'
)
...
...
main.py
0 → 100755
View file @
005f21b5
#!/usr/bin/env python3
"""
Main entry point for running the Fixture Manager daemon from source
without needing to build the PyInstaller executable.
"""
import
sys
import
os
from
pathlib
import
Path
# Add the project root to Python path
project_root
=
Path
(
__file__
)
.
parent
sys
.
path
.
insert
(
0
,
str
(
project_root
))
from
fixture_daemon
import
main
if
__name__
==
'__main__'
:
main
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment