From d45f22c9c2f5e4feec9f9692c36b8385d51ec981 Mon Sep 17 00:00:00 2001 From: David Fraser Date: Wed, 28 Aug 2024 15:32:13 +0200 Subject: [PATCH] Minor python environment changes (#723) Substitutes python-memcached (which is installable out of the box on Windows) for pylibmc (which isn't), only on Windows Adds a git ignore for the common venv subdirectory for a working virtual environment when doing development --- .gitignore | 1 + requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 31926cc..0975085 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ __pycache__/ api-test.* notes.md notes.py +venv/ diff --git a/requirements.txt b/requirements.txt index 6b87ed8..8a27f4e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,11 +18,12 @@ pillow~=9.3.0 psycopg~=3.1.8 pydantic~=1.10.2 pyld~=2.0.3 -pylibmc~=1.6.3 +pylibmc~=1.6.3; sys_platform != 'win32' pymemcache~=4.0.0 pytest-asyncio~=0.20.3 python-dateutil~=2.8.2 python-dotenv~=0.21.0 +python-memcached~=1.62; sys_platform == 'win32' redis~=4.4.0 sentry-sdk~=1.11.0 sphinx~=5.3.0