Skip to content

Commit

Permalink
Edition base class
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed May 8, 2011
1 parent 0b0c835 commit 5ae5ebd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions edition.py
@@ -0,0 +1,6 @@

class Edition:
"""Base class. Every edition derives from this
"""
def __init__(self):
self.name = "BioLinux base Edition"
7 changes: 7 additions & 0 deletions fabfile.py
Expand Up @@ -36,6 +36,13 @@

logger.addHandler(ch)

# ---- Support for BioLinux editions. An edition is a basic 'specialization',
# with its own overrides of the Edition class.

from edition import *

edition = Edition()

env.config_dir = os.path.join(os.path.dirname(__file__), "config")
if not env.get('edition'):
# default values for edition (when missing in fabricrc)
Expand Down

0 comments on commit 5ae5ebd

Please sign in to comment.