dealertrack / flake8-diff

Run flake8 across a set of changed files and filter out violations occurring only on the lines that were changed.
MIT License
20 stars 8 forks source link

Use entry_point for installation #9

Closed miki725 closed 10 years ago

miki725 commented 10 years ago

Add entry_point to setup.py

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.

gregarmer commented 10 years ago

This is already implemented - https://github.com/gregarmer/flake8-diff/blob/master/setup.py#L18-L22

miki725 commented 10 years ago

Oh. Did'nt see that. Cool.