Skip to content

Commit 8a4fa8f

Browse files
committed
pip installing cwltool instead of setup.py inside appveyor
1 parent f908ff6 commit 8a4fa8f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ install:
3131
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
3232

3333
build_script:
34-
- "%CMD_IN_ENV% python setup.py install"
34+
- "%CMD_IN_ENV% pip install ."
3535

3636

3737
test_script:

cwltool/builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def __init__(self): # type: () -> None
5959
self.job_script_provider = None # type: Any
6060

6161
def build_job_script(self, commands):
62-
# type: (Union[List[str],List[bytes]]) -> Text
63-
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[str]], Text]
62+
# type: (Union[List[str],List[unicode]]) -> Text
63+
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, Union[List[str],List[unicode]]], Text]
6464
if build_job_script_method:
6565
return build_job_script_method(self, commands)
6666
else:

cwltool/job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def run(self, pull_image=True, rm_container=True,
419419

420420

421421
def _job_popen(
422-
commands, # type: Union[List[str],List[bytes]]
422+
commands, # type: Union[List[str],List[unicode]]
423423
stdin_path, # type: Text
424424
stdout_path, # type: Text
425425
stderr_path, # type: Text

0 commit comments

Comments
 (0)