Created
September 26, 2019 15:15
-
-
Save aprxi/bf555a87f14387d3331b1be7e5d21dc1 to your computer and use it in GitHub Desktop.
Makefile-makepip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: module | |
module: | |
@# ensure there is a symlink from MODULE_NAME to module directory | |
@# then run regular setup.py to build the module | |
$(RUN_DOCK) "cd ~/$(MODULE_NAME) \ | |
&& find ./ -type l -maxdepth 1 |xargs rm -f \ | |
&& ln -sf module "$(MODULE_NAME)" \ | |
&& python3 setup.py sdist" | |
.PHONY: pylint | |
pylint: | |
$(RUN_DOCK) "cd ~/$(MODULE_NAME)/module \ | |
&& pylint --rcfile=../.pylintrc * -f parseable" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment