This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
RFC: Makefile based boilerplate for python projects #1756
Merged
Merged
Commits on Nov 28, 2019
-
seatup.py: fix [dev_]requirements and open file with context
setup(..) named arguments 'install_requires' and 'extras_require' need lists arguments, the <map object> is ignored when installing extra environment 'test':: pip install -e .\[test\] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for a56c56e - Browse repository at this point
Copy the full SHA a56c56eView commit details -
boilerplate: add inital Makefile with run & install targets
Add *Makefile* boilerplate useful for python projects. All python tasks are using a virtualenv from ./local/py3 $ make help run - run developer instance install - developer install (./local) uninstall - uninstall (./local) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for b55a800 - Browse repository at this point
Copy the full SHA b55a800View commit details -
Makefile: add test.pep8 test.unit test.robot (from manage.sh)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for 7e572a2 - Browse repository at this point
Copy the full SHA 7e572a2View commit details -
boilerplate: add pylint / WIP: balance linting with pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for 796197d - Browse repository at this point
Copy the full SHA 796197dView commit details -
boilerplate: add .dir-locals.el with emacs python enviroment
The .dir-locals.el set the project's python enviroment for the emacs tasks like flycheck or jedi. The py-environment has to be next to <repo>/.dir-locals.el:: ./local/py3 To setup such an environment build target 'pyenv' or 'pyenvinstall':: $ make pyenvinstall TL;DR Alternatively create the virtualenv, source it and install jedi + epc (required by `emacs-jedi <https://tkf.github.io/emacs-jedi>`_):: $ virtualenv --python=python3 "--no-site-packages" ./local/py3 ... $ source ./local/py3/bin/activate (py3)$ # now install into the activated 'py3' environment .. (py3)$ pip install jedi epc ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for 62a4b74 - Browse repository at this point
Copy the full SHA 62a4b74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 147f40c - Browse repository at this point
Copy the full SHA 147f40cView commit details
Commits on Nov 29, 2019
-
.dir-locals.el: add some comments about jedi & EPC
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Configuration menu - View commit details
-
Copy full SHA for 52450fd - Browse repository at this point
Copy the full SHA 52450fdView commit details
Commits on Dec 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1b90e14 - Browse repository at this point
Copy the full SHA 1b90e14View commit details
Commits on Dec 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7beb49b - Browse repository at this point
Copy the full SHA 7beb49bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.