By having an entry_point, simply by installing flake8-diff, it can be executed inside the virtualenv:
$ pip install flake8-diff
$ flake8-diff ...
The advantage of using entry_point vs script file is that it is cross-platform compatible since it does not require to create a dedicated bash file, bat file for all OSes.
Add entry_point to
setup.py
By having an entry_point, simply by installing flake8-diff, it can be executed inside the virtualenv:
The advantage of using entry_point vs script file is that it is cross-platform compatible since it does not require to create a dedicated bash file, bat file for all OSes.