Skip to content

Commit 3cd484e

Browse files
author
Peter Amstutz
committed
Make wes-client a proper module. Rename WES_API_TOKEN to WES_API_AUTH
1 parent 56bcf9f commit 3cd484e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
url="https://github.com/common-workflow-language/cwltool-service",
2020
download_url="https://github.com/common-workflow-language/cwltool-service",
2121
license='Apache 2.0',
22-
packages=["wes_service"],
22+
packages=["wes_service", "wes_client"],
2323
package_data={'wes_service': ['swagger/proto/workflow_execution.swagger.json']},
2424
include_package_data=True,
2525
install_requires=[

wes_client.py renamed to wes_client/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def main(argv=sys.argv[1:]):
1919

2020
parser = argparse.ArgumentParser(description='Workflow Execution Service')
2121
parser.add_argument("--host", type=str, default=os.environ.get("WES_API_HOST"))
22-
parser.add_argument("--auth", type=str, default=os.environ.get("WES_API_TOKEN"))
22+
parser.add_argument("--auth", type=str, default=os.environ.get("WES_API_AUTH"))
2323
parser.add_argument("--proto", type=str, default=os.environ.get("WES_API_PROTO", "https"))
2424
parser.add_argument("--quiet", action="store_true", default=False)
2525
parser.add_argument("--outdir", type=str)
@@ -36,7 +36,7 @@ def main(argv=sys.argv[1:]):
3636
args = parser.parse_args(argv)
3737

3838
if args.version:
39-
pkg = pkg_resources.require("cwltool_service")
39+
pkg = pkg_resources.require("wes_service")
4040
print u"%s %s" % (sys.argv[0], pkg[0].version)
4141
exit(0)
4242

0 commit comments

Comments
 (0)