added cmd script (and scripts subfolder)

This commit is contained in:
mlabbe 2012-09-05 17:59:29 -04:00
parent a89b840960
commit a312a1a08f
2 changed files with 7 additions and 1 deletions

6
scripts/flake8.cmd Normal file
View file

@ -0,0 +1,6 @@
@setlocal enableextensions & python -x %~f0 %* & goto :EOF
# -*- mode: python -*-
from flake8.run import main
if __name__ == '__main__':
main()

View file

@ -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",