diff --git a/scripts/flake8.cmd b/scripts/flake8.cmd new file mode 100644 index 0000000..57ec2fd --- /dev/null +++ b/scripts/flake8.cmd @@ -0,0 +1,6 @@ +@setlocal enableextensions & python -x %~f0 %* & goto :EOF +# -*- mode: python -*- +from flake8.run import main + +if __name__ == '__main__': + main() diff --git a/setup.py b/setup.py index 4386d86..1808838 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( author_email="tarek@ziade.org", url="http://bitbucket.org/tarek/flake8", packages=["flake8", "flake8.tests"], - scripts=["flake8/flake8"], + scripts=["flake8/flake8", "scripts/flake8.cmd"], long_description=README, classifiers=[ "Environment :: Console",