Skip to content

Commit

Permalink
Depend on new galaxy-lib on PyPI instead of planemo_ext hacks...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 20, 2015
1 parent 3a42d71 commit 1f13855
Show file tree
Hide file tree
Showing 112 changed files with 8 additions and 15,342 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Expand Up @@ -2,5 +2,5 @@
path = planemo/xml/xsd/tool
url = https://github.com/JeanFred/Galaxy-XSD
[submodule "planemo_ext/cwl2script"]
path = planemo_ext/cwl2script
path = planemo/cwl/cwl2script
url = https://github.com/common-workflow-language/cwl2script.git
12 changes: 3 additions & 9 deletions planemo/cli.py
Expand Up @@ -4,15 +4,9 @@

import click

# Hack to place Galaxy modules on PYTHONPATH - without
# actually having them on the real external PYTHONPATH.
import planemo_ext
planemo_ext_path = planemo_ext.__path__[0]
sys.path.append(os.path.join(planemo_ext_path))

from .io import error # noqa, import must happen after Galaxy hack
from .config import read_global_config # noqa, ditto
from planemo import __version__ # noqa, ditto
from .io import error
from .config import read_global_config
from planemo import __version__

PYTHON_2_7_COMMANDS = ["cwl_run", "cwl_script"]
IS_PYTHON_2_7 = sys.version_info[0] == 2 and sys.version_info[1] >= 7
Expand Down
2 changes: 1 addition & 1 deletion planemo/cwl/script.py
Expand Up @@ -23,7 +23,7 @@
process = None

try:
from cwl2script import cwl2script
from .cwl2script import cwl2script
except ImportError:
cwl2script = None

Expand Down
3 changes: 0 additions & 3 deletions planemo_ext/galaxy/__init__.py

This file was deleted.

7 changes: 0 additions & 7 deletions planemo_ext/galaxy/eggs/__init__.py

This file was deleted.

13 changes: 0 additions & 13 deletions planemo_ext/galaxy/exceptions.py

This file was deleted.

Empty file.
116 changes: 0 additions & 116 deletions planemo_ext/galaxy/jobs/metrics/__init__.py

This file was deleted.

5 changes: 0 additions & 5 deletions planemo_ext/galaxy/jobs/metrics/collectl/__init__.py

This file was deleted.

139 changes: 0 additions & 139 deletions planemo_ext/galaxy/jobs/metrics/collectl/cli.py

This file was deleted.

0 comments on commit 1f13855

Please sign in to comment.