Skip to content

Commit f48b326

Browse files
Merge pull request #7 from rebots-online/revert-6-feat/multiboot-gui-packaging-ci
Revert "fix: Clean up source tarball generation for Debian packaging"
2 parents dad25e6 + 98f3aeb commit f48b326

File tree

3 files changed

+15
-83
lines changed

3 files changed

+15
-83
lines changed

.gitignore

Lines changed: 9 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,14 @@
1-
# Python
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
1+
## Compiled object code
2+
*.pyc
53

6-
# Build artifacts
7-
build/
8-
dist/
9-
*.egg-info/
10-
sdist/
11-
develop-eggs/
12-
*.egg
13-
MANIFEST
14-
15-
# Virtual environments
4+
\.idea/
5+
doc/_build
166
venv/
17-
env/
18-
.venv/
19-
venv*/
20-
env.*/
21-
.env.*/
22-
ENV/
23-
24-
# IDE / Editor files
25-
.idea/
26-
.vscode/
27-
*.swp
28-
*~
29-
.DS_Store
30-
31-
# Documentation
32-
doc/_build/
33-
docs/_build/
7+
venv3.11/
8+
WoeUSB_ng\.egg-info/
9+
dist/
3410

35-
# Test artifacts
36-
.pytest_cache/
37-
.coverage
38-
htmlcov/
39-
nosetests.xml
40-
coverage.xml
41-
*.cover
11+
build/
4212

43-
# Custom / Project specific
44-
WoeUSB_ng\.egg-info/ # Kept if specifically different from *.egg-info
45-
create_tarball # Assuming this is a generated file/script to ignore
13+
create_tarball
4614
appmap.log
47-
48-
# Notebooks
49-
.ipynb_checkpoints

MANIFEST.in

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,9 @@ recursive-include WowUSB/data/scripts *
2626
# Include test files
2727
recursive-include tests *
2828

29-
# Prune build and distribution artifacts
30-
prune build
31-
prune dist
32-
prune *.egg-info
33-
34-
# Prune virtual environment directories
35-
prune venv
36-
prune env
37-
prune .venv
38-
prune venv*
39-
prune env.*
40-
prune .env.*
41-
prune ENV
42-
43-
# Exclude compiled Python files and cache
29+
# Exclude compiled Python files
4430
global-exclude *.py[cod]
4531
global-exclude __pycache__
4632
global-exclude *.so
47-
48-
# Exclude common unwanted files
4933
global-exclude .DS_Store
50-
global-exclude Thumbs.db
51-
global-exclude ._*
52-
global-exclude .git*
53-
global-exclude *.log
54-
55-
# Ensure woeusbgui is included if it's a script at that path.
56-
# If it's part of the WowUSB package (e.g. WowUSB/gui.py with a main function),
57-
# then entry_points in setup.py is the standard way to make it a script.
58-
# This line might be redundant if setup.py handles it via `scripts` or `entry_points`.
59-
include WowUSB/woeusbgui
34+
include WoeUSB/woeusbgui

scripts/create_tarball.sh

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@
55
set -e
66

77
# Configuration
8-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
9-
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
10-
11-
# Dynamically get version from setup.py
12-
VERSION=$(cd "$PROJECT_DIR"; python3 setup.py --version)
13-
if [ -z "$VERSION" ]; then
14-
echo "Error: Could not determine version from setup.py"
15-
exit 1
16-
fi
17-
18-
PACKAGE_NAME="wowusb-ds9" # Should match setup.py name if possible
8+
VERSION="0.3.0"
9+
PACKAGE_NAME="wowusb-ds9"
1910
TARBALL_NAME="${PACKAGE_NAME}-${VERSION}"
2011
TEMP_DIR=$(mktemp -d)
21-
12+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
13+
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
2214

2315
# Print banner
2416
echo "====================================================="

0 commit comments

Comments
 (0)