diff options
author | Nima Talebi <ntd@amazon.com> | 2015-06-08 08:17:09 -0700 |
---|---|---|
committer | Nima Talebi <ntd@amazon.com> | 2015-06-08 08:17:09 -0700 |
commit | 9d0f722cb3c2e45194737b154686887993c9c00a (patch) | |
tree | 4ea0b1bd5df6d0a00ae90e1819e0deb6b7a74d59 | |
parent | 3b32d9d05a785a744f5e315ef9267d67723e082c (diff) | |
download | python-dmidecode-9d0f722cb3c2e45194737b154686887993c9c00a.tar.gz python-dmidecode-9d0f722cb3c2e45194737b154686887993c9c00a.tar.xz python-dmidecode-9d0f722cb3c2e45194737b154686887993c9c00a.zip |
House-keeping around generated .pyc files in source
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | utils/set_version | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/utils/set_version b/utils/set_version index 97c18c9..bbca211 100755 --- a/utils/set_version +++ b/utils/set_version @@ -13,6 +13,7 @@ fi NEW_VERSION=$1 OLD_VERSION=$(cd src;python -c "from setup_common import *; print get_version();") +rm -f src/setup_common.py[co] # Prepare ChangeLog entry for the python-dmidecode.spec file TSTAMP="$(date +%a\ %b\ %d\ %Y)" |