Skip to content
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

Improved and fixed dependencies in makefile #13

Merged
merged 2 commits into from
Aug 31, 2020
Merged

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Aug 26, 2020

This fix has been ported from geoadmin/service-qrcode#13.


Makefile dependencies where not correct. For example if a pip requirements
file were modified the requirements needed to be manually re-installed.
There was also a bug using the lint target when a local python build
was done. Because the local python build was inside a normal directory,
its content was passed to pylint which then failed. Also the local build
for another python version of 3.7 would have not worked due to hard
coded python binary to python3.7.

Now all dependencies have been corrected, which means that in between
two call of make serve if the requirements.txt has been modified, the
target make setup is automatically called.

The python local build is now done within a hidden directory (.local)
which is then not passed to pylint nor to yapf.

Also make use of proper make target in the buidlspec.

Makefile dependencies where not correct. For example if a pip requirements
file were modified the requirements needed to be manually re-installed.
There was also a bug using the lint target when a local python build
was done. Because the local python build was inside a normal directory,
its content was passed to pylint which then failed. Also the local build
for another python version of 3.7 would have not worked due to hard
coded python binary to python3.7.

Now all dependencies have been corrected, which means that in between
two call of make serve if the requirements.txt has been modified, the
target make setup is automatically called.

The python local build is now done within a hidden directory (.local)
which is then not passed to pylint nor to yapf.

Also make use of proper make target in the buidlspec.
@ltshb ltshb requested a review from rebert August 26, 2020 14:42
The make test target depend on the dev requirements (for nose2 installation which is part of the dev tools)
@ltshb ltshb merged commit ca6d642 into master Aug 31, 2020
@ltshb ltshb deleted the bugfix_makefile branch September 3, 2020 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant