zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
353 stars 355 forks source link

provision: Fix source command on Windows #622

Closed QEDK closed 3 years ago

QEDK commented 3 years ago

Currently, the provision script gives us something like this on Windows:

Run the following to enter into the virtualenv:

  source C:\Users\qedk\python-zulip-api\zulip-api-py3-venv\Scripts\activate

However, bash does not work with backslashes and will give us an error saying No such file or directory. This commit addresses that so we get the correct command with the forward slashes:

Run the following to enter into the virtualenv:

  source C:/Users/qedk/python-zulip-api/zulip-api-py3-venv/Scripts/activate
showell commented 3 years ago

Merged, thanks @QEDK!