Skip to content

Use pip -e flag #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ all: \
.venv.done.log: \
$(top_srcdir)/.git_submodule_init.done.log \
$(top_srcdir)/case_utils/__init__.py \
$(top_srcdir)/case_utils/case_file/__init__.py \
$(top_srcdir)/case_utils/case_sparql_construct/__init__.py \
$(top_srcdir)/case_utils/case_sparql_select/__init__.py \
$(top_srcdir)/case_utils/local_uuid.py \
$(top_srcdir)/setup.cfg \
$(top_srcdir)/setup.py \
requirements.txt
Expand All @@ -58,7 +54,9 @@ all: \
--requirement requirements.txt
source venv/bin/activate \
&& cd $(top_srcdir) \
&& python3 setup.py install
&& pip install \
--editable \
.
touch $@

all-case_file: \
Expand Down
5 changes: 5 additions & 0 deletions tests/case_file/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ sample.txt.done.log: \
sample.txt.json: \
$(tests_srcdir)/src/compact.py \
$(tests_srcdir)/src/isomorphic_diff.py \
$(top_srcdir)/case_utils/case_file/__init__.py \
$(top_srcdir)/case_utils/local_uuid.py \
sample.txt-nocompact.json
rm -f $@ _$@ __$@
export DEMO_UUID_REQUESTING_NONRANDOM=NONRANDOM_REQUESTED \
Expand Down Expand Up @@ -135,6 +137,7 @@ sample.txt.ttl: \
$(RDF_TOOLKIT_JAR) \
$(tests_srcdir)/.venv.done.log \
$(top_srcdir)/case_utils/case_file/__init__.py \
$(top_srcdir)/case_utils/local_uuid.py \
sample.txt.done.log
rm -f _$@ __$@
export DEMO_UUID_REQUESTING_NONRANDOM=NONRANDOM_REQUESTED \
Expand All @@ -156,6 +159,7 @@ sample.txt-disable_hashes.ttl: \
$(RDF_TOOLKIT_JAR) \
$(tests_srcdir)/.venv.done.log \
$(top_srcdir)/case_utils/case_file/__init__.py \
$(top_srcdir)/case_utils/local_uuid.py \
sample.txt.done.log
rm -f _$@ __$@
export DEMO_UUID_REQUESTING_NONRANDOM=NONRANDOM_REQUESTED \
Expand All @@ -179,6 +183,7 @@ sample.txt-nocompact.json: \
$(tests_srcdir)/.venv.done.log \
$(tests_srcdir)/src/isomorphic_diff.py \
$(top_srcdir)/case_utils/case_file/__init__.py \
$(top_srcdir)/case_utils/local_uuid.py \
sample.txt.done.log
rm -f _$@
export DEMO_UUID_REQUESTING_NONRANDOM=NONRANDOM_REQUESTED \
Expand Down
1 change: 1 addition & 0 deletions tests/case_sparql_construct/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ clean:

output.ttl: \
$(tests_srcdir)/.venv.done.log \
$(top_srcdir)/case_utils/case_sparql_construct/__init__.py \
input-1.sparql \
input-2.ttl \
input-3.json
Expand Down
1 change: 1 addition & 0 deletions tests/case_sparql_select/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ clean:

output.%: \
$(tests_srcdir)/.venv.done.log \
$(top_srcdir)/case_utils/case_sparql_select/__init__.py \
input-1.sparql \
input-2.ttl \
input-3.json
Expand Down