Backporting production changes / updating tests
[margebot.git] / setup.py
index 06eac90..5d091a5 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,15 +3,13 @@ Setup.py
 """
 # pragma pylint: disable=invalid-name
 from distutils.errors import DistutilsSetupError
-from distutils.filelist import FileList
-import os
 from setuptools import setup
 import setuptools.command.sdist
 import setuptools.command.upload
 import setuptools.command.install
 
-# Errbot plugins aren't distributed as eggs so stub out the sdist, install and upload commands
 
+# Errbot plugins aren't distributed as eggs so stub out the sdist, install and upload commands
 class ErrbotSdistCommand(setuptools.command.sdist.sdist):
     """
     No sdist command for now.
@@ -32,7 +30,7 @@ class ErrbotInstallCommand(setuptools.command.install.install):
     """
     Short circuit the install command
     """
-    def run(self): 
+    def run(self):
         raise DistutilsSetupError("No install command - copy the ./plugin files to a 'Marge' directory under your Errbot's plugins directory.")
 
 
@@ -58,9 +56,11 @@ setup(
     setup_requires=['pytest-runner'],
     tests_require=tests_required,
 
+    zip_safe=False,
+
     cmdclass={
-        'install' : ErrbotInstallCommand,
-        'sdist' : ErrbotSdistCommand,
-        'upload' : ErrbotUploadCommand,
+        'install': ErrbotInstallCommand,
+        'sdist': ErrbotSdistCommand,
+        'upload': ErrbotUploadCommand,
     }
 )