Checkpoint: 4/9/2019
[margebot.git] / setup.py
index 06eac90..35f5db5 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.")
 
 
@@ -59,8 +57,8 @@ setup(
     tests_require=tests_required,
 
     cmdclass={
-        'install' : ErrbotInstallCommand,
-        'sdist' : ErrbotSdistCommand,
-        'upload' : ErrbotUploadCommand,
+        'install': ErrbotInstallCommand,
+        'sdist': ErrbotSdistCommand,
+        'upload': ErrbotUploadCommand,
     }
 )