projects
/
margebot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backporting production changes / updating tests
[margebot.git]
/
setup.py
diff --git
a/setup.py
b/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
"""
# 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
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.
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
"""
"""
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.")
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,
setup_requires=['pytest-runner'],
tests_require=tests_required,
+ zip_safe=False,
+
cmdclass={
cmdclass={
- 'install'
: ErrbotInstallCommand,
- 'sdist'
: ErrbotSdistCommand,
- 'upload'
: ErrbotUploadCommand,
+ 'install': ErrbotInstallCommand,
+ 'sdist': ErrbotSdistCommand,
+ 'upload': ErrbotUploadCommand,
}
)
}
)