summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-07-09 09:38:19 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-07-09 09:38:19 -0400
commit59e3df3aee79e4af21557870a89edd64a84ebc8d (patch)
tree32b14fd9a124a9d45f0a99ca0000e0cd32bbae03 /setup.py
parentf6ebfe308bc715dca44d89f16a06f01d3162d715 (diff)
downloadpython-coveragepy-59e3df3aee79e4af21557870a89edd64a84ebc8d.tar.gz
Setup.py should be linted too
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 212dc9f..af0412b 100644
--- a/setup.py
+++ b/setup.py
@@ -25,10 +25,11 @@ Topic :: Software Development :: Testing
import sys
if sys.hexversion < 0x03000000:
+ # In Py 2.x, use setuptools.
from ez_setup import use_setuptools
use_setuptools()
- from setuptools import setup, find_packages
+ from setuptools import setup
from distutils.core import Extension
setuptools_args = dict(
@@ -38,9 +39,11 @@ if sys.hexversion < 0x03000000:
]
},
- zip_safe = False, # we need to get HTML assets from our htmlfiles dir.
+ # We need to get HTML assets from our htmlfiles dir.
+ zip_safe = False,
)
else:
+ # No setuptools yet for Py 3.x, so do without.
from distutils.core import setup, Extension
setuptools_args = {}