Created
July 12, 2011 16:41
-
-
Save mitechie/1078383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import env | |
# Globals | |
env.project_name = 'proj' | |
env.packagedir = 'http://packageserver.com/packages/' | |
env.new_version_files = ['setup.py', | |
'docs/source/conf.py', | |
] | |
env.new_version_files = ['{project_name}/__init__.py'.format(**env), | |
'docs/conf.py', | |
'setup.py', ] | |
# Environments | |
def prod(): | |
"Use the production server environment settings" | |
env.hosts = ['localhost', ] | |
env.venv_path = '/home/rharding/src/staples' | |
env.app_path = '{venv_path}/staples_app'.format(**env) | |
env.python_path = '{venv_path}/bin/python'.format(**env) | |
env.migrate_path = '{python_path} {app_path}/samigrate.py'.format(**env) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment