From 4458276801f1c54be97e615f3382b34b1cfb681e Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Tue, 9 Jan 2018 16:52:30 -0330 Subject: [PATCH] requirements: Remove runtime dependency on mock. The zulip and zulip_botserver packages specify mock as a runtime dependency, which is only needed for testing during development. So, it made more sense to move it to requirements.txt so that it can be installed by ./tools/provision during development. --- requirements.txt | 1 + zulip/setup.py | 1 - zulip_botserver/setup.py | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 zulip_botserver/setup.py diff --git a/requirements.txt b/requirements.txt index 941600c..b425dcd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ crayons twine coverage>=4.4.1 pycodestyle==2.3.1 +mock -e ./zulip -e ./zulip_bots -e ./zulip_botserver diff --git a/zulip/setup.py b/zulip/setup.py index 727a278..1c67dc1 100755 --- a/zulip/setup.py +++ b/zulip/setup.py @@ -55,7 +55,6 @@ setuptools_info = dict( install_requires=['requests>=0.12.1', 'six', 'typing>=3.5.2.2', - 'mock', ], ) diff --git a/zulip_botserver/setup.py b/zulip_botserver/setup.py old mode 100644 new mode 100755 index e9cbfec..a61d299 --- a/zulip_botserver/setup.py +++ b/zulip_botserver/setup.py @@ -38,7 +38,6 @@ setuptools_info = dict( 'zulip', 'zulip_bots', 'flask>=0.12.2', - 'mock', ], )