mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 14:24:17 +00:00
setup.py: Use setuptools if available, for 'develop' command
This commit is contained in:
parent
ad87ad1960
commit
d5d28da816
1 changed files with 4 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -1,3 +1,6 @@
|
||||||
|
try:
|
||||||
|
from setuptools import setup
|
||||||
|
except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
README = open('README').read()
|
README = open('README').read()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue