Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljones committed May 6, 2008
1 parent a362449 commit 0c8d17a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
4 changes: 1 addition & 3 deletions modules/level/level/interface/web.py
Expand Up @@ -17,14 +17,12 @@ class LevelWebInterface(WebInterface):

def list(self, request, response, endpoint, values):

response.data = "Hello this is the list function"
self.info = "Testing"

return response

def list_info(self, request, response, endpoint, values):

response.data = "Info listing: " + values["info"]

return response


3 changes: 3 additions & 0 deletions modules/level/level/view/web/list.mako
@@ -1 +1,4 @@
Some kind of test

Parameter: ${info}

2 changes: 1 addition & 1 deletion pipeline/pipeline/foundation/shell/bash.py
@@ -1,4 +1,4 @@
from foundation.shell.base import Shell
from pipeline.foundation.shell.base import Shell

class Bash(Shell):
"""
Expand Down
2 changes: 1 addition & 1 deletion pipeline/pipeline/foundation/shell/tcsh.py
@@ -1,4 +1,4 @@
from foundation.shell.base import Shell
from pipeline.foundation.shell.base import Shell

class Tcsh(Shell):
"""
Expand Down
4 changes: 2 additions & 2 deletions pipeline/pipeline/shell.py
@@ -1,11 +1,11 @@
import os
import re

from foundation.shell.base import EnvVarNotFound
from pipeline.foundation.shell.base import EnvVarNotFound
from pipeline import settings

_shell_name = os.getenv("SHELL").split(os.sep)[-1]
_shell_module = __import__("foundation.shell." + _shell_name, globals(), locals(), [None])
_shell_module = __import__("pipeline.foundation.shell." + _shell_name, globals(), locals(), [None])
_Shell = getattr(_shell_module, _shell_name.capitalize())

class Shell(_Shell):
Expand Down
2 changes: 1 addition & 1 deletion pipeline/setup.py
Expand Up @@ -28,7 +28,7 @@ def package_data():
name = "SlipStream",
version = "0.0.1",
packages = find_packages(),
install_requires = ['SlipStream-foundation>=0.0.1'],
install_requires = ['SQLAlchemy>=0.4', 'Mako>=0.1.10'],

entry_points = {
'console_scripts': [
Expand Down
10 changes: 5 additions & 5 deletions test_suite/rebuild.tcsh
@@ -1,11 +1,11 @@
#!/bin/tcsh -f

cd ../
cd foundation
# cd ../
# cd foundation

python setup.py clean
python setup.py build
python setup.py bdist_egg
# python setup.py clean
# python setup.py build
# python setup.py bdist_egg

cd ../pipeline

Expand Down
2 changes: 1 addition & 1 deletion test_suite/setup_clean.tcsh
Expand Up @@ -14,7 +14,7 @@ cp -r /home/mike/projects/pipeline/modular/dependencies /tmp/local
# easy_install --prefix local http://www.michaelpjones.co.uk/pipeline/SlipStream-0.0.1-py${pyVer}.egg
# easy_install --prefix local http://www.michaelpjones.co.uk/pipeline/SlipStream_level-0.0.1-py${pyVer}.egg

easy_install --prefix local /home/mike/projects/pipeline/modular/foundation/dist/SlipStream_foundation-0.0.1-py${pyVer}.egg
# easy_install --prefix local /home/mike/projects/pipeline/modular/foundation/dist/SlipStream_foundation-0.0.1-py${pyVer}.egg
easy_install --prefix local /home/mike/projects/pipeline/modular/pipeline/dist/SlipStream-0.0.1-py${pyVer}.egg

easy_install --prefix local /home/mike/projects/pipeline/modular/modules/level/dist/SlipStream_level-0.0.1-py${pyVer}.egg
Expand Down

0 comments on commit 0c8d17a

Please sign in to comment.