Skip to content

Commit 9d0f722

Browse files
committed
House-keeping around generated .pyc files in source
1 parent 3b32d9d commit 9d0f722

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pyc

utils/set_version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fi
1313

1414
NEW_VERSION=$1
1515
OLD_VERSION=$(cd src;python -c "from setup_common import *; print get_version();")
16+
rm -f src/setup_common.py[co]
1617

1718
# Prepare ChangeLog entry for the python-dmidecode.spec file
1819
TSTAMP="$(date +%a\ %b\ %d\ %Y)"

0 commit comments

Comments
 (0)