diff options
| author | Benjamin ABEL <bbig26@gmail.com> | 2015-03-02 19:15:29 +0100 |
|---|---|---|
| committer | Benjamin ABEL <bbig26@gmail.com> | 2015-03-02 19:26:47 +0100 |
| commit | ea10824e12e7d9409e7a8918094c1dbfa2d66f05 (patch) | |
| tree | f028c5fe9f86109f90793270426ab296a76d8a3b /setup.py | |
| parent | 74ddc39485c18cb78972fc0088f82b8af7b24c53 (diff) | |
| download | isort-ea10824e12e7d9409e7a8918094c1dbfa2d66f05.tar.gz | |
Add Setuptools integration issue #261
These changes enable any user that installs `isort` to check his source
code from setup.py with the command `python setup.py isort`
I also checked isort package code with his command in tox and travis.
Acknowledgements: this is mostly inspired by flake8 setuptools integration,
see [flake8 doc](http://flake8.readthedocs.org/en/2.2.3/setuptools.html)
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ setup(name='isort', entry_points={ 'console_scripts': [ 'isort = isort.main:main', - ] + ], + 'distutils.commands': ['isort = isort.main:ISortCommand'], }, packages=['isort'], requires=['pies', 'natsort'], |
