Skip to content

Commit

Permalink
add *.pyc to .gitignore, rename non-alphabet easyblocks subdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Mar 13, 2012
1 parent 4304693 commit 3b4f1af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.pydevproject
.project
LICENSE_HEADER
*.pyc
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions easybuild/scripts/easyblocks_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
pkg_resources.declare_namespace("%s")
""" % os.path.basename(PREFIX))

# create subdirectories Aa, Bb, ..., Zz, 09, _-
# create subdirectories Aa, Bb, ..., Zz, 0-9, _other_
def createDir(dirName):
os.mkdir(os.path.join(PREFIX, dirName))
fh = open(os.path.join(PREFIX, dirName, "__init__.py"), 'w')
Expand All @@ -54,5 +54,5 @@ def createDir(dirName):
for letter in alphabet:
createDir(letter)

createDir("09")
createDir("_-")
createDir("0-9")
createDir("_other_")

0 comments on commit 3b4f1af

Please sign in to comment.