"""
# 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.
"""
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.")
setup_requires=['pytest-runner'],
tests_require=tests_required,
+ zip_safe=False,
+
cmdclass={
- 'install' : ErrbotInstallCommand,
- 'sdist' : ErrbotSdistCommand,
- 'upload' : ErrbotUploadCommand,
+ 'install': ErrbotInstallCommand,
+ 'sdist': ErrbotSdistCommand,
+ 'upload': ErrbotUploadCommand,
}
)