Skip to content

Commit c42df16

Browse files
Merge pull request #23 from casework/cleanup
Cleanup
2 parents 0106422 + edeff21 commit c42df16

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
SHELL := /bin/bash
1515

16-
PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
16+
PYTHON3 ?= python3
1717

1818
case_version := $(shell $(PYTHON3) case_utils/ontology/version_info.py)
1919
ifeq ($(case_version),)
@@ -37,7 +37,8 @@ all: \
3737
# Build an ontology terms list, which has a side effect of initiating further submodules.
3838
$(MAKE) \
3939
--directory dependencies/CASE-Examples-QC \
40-
download
40+
.git_submodule_init.done.log \
41+
.venv.done.log
4142
$(MAKE) \
4243
--directory dependencies/CASE-Examples-QC/tests \
4344
ontology_vocabulary.txt

case_utils/case_sparql_select/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
import argparse
3232
import binascii
33-
import os
3433
import logging
34+
import os
3535

3636
import pandas as pd # type: ignore
3737
import rdflib.plugins.sparql # type: ignore

tests/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SHELL := /bin/bash
1515

1616
top_srcdir := $(shell cd .. ; pwd)
1717

18-
PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
18+
PYTHON3 ?= python3
1919

2020
all: \
2121
all-case_utils
@@ -52,7 +52,6 @@ all: \
5252
.
5353
touch $@
5454

55-
5655
all-case_utils: \
5756
.venv.done.log
5857
$(MAKE) \

tests/case_utils/case_file/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ top_srcdir := $(shell cd ../../.. ; pwd)
1717

1818
tests_srcdir := $(top_srcdir)/tests
1919

20+
case_srcdir := $(top_srcdir)/dependencies/CASE
21+
2022
qc_srcdir := $(top_srcdir)/dependencies/CASE-Examples-QC
2123

22-
RDF_TOOLKIT_JAR := $(qc_srcdir)/dependencies/CASE-Examples/dependencies/CASE-0.3.0/CASE/lib/rdf-toolkit.jar
24+
RDF_TOOLKIT_JAR := $(case_srcdir)/lib/rdf-toolkit.jar
2325

2426
COMM ?= $(shell which gcomm 2>/dev/null || which comm)
2527
ifeq ($(COMM),)

0 commit comments

Comments
 (0)