Skip to content

Commit d45f22c

Browse files
authored
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
1 parent 024b01a commit d45f22c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ __pycache__/
1919
api-test.*
2020
notes.md
2121
notes.py
22+
venv/

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ pillow~=9.3.0
1818
psycopg~=3.1.8
1919
pydantic~=1.10.2
2020
pyld~=2.0.3
21-
pylibmc~=1.6.3
21+
pylibmc~=1.6.3; sys_platform != 'win32'
2222
pymemcache~=4.0.0
2323
pytest-asyncio~=0.20.3
2424
python-dateutil~=2.8.2
2525
python-dotenv~=0.21.0
26+
python-memcached~=1.62; sys_platform == 'win32'
2627
redis~=4.4.0
2728
sentry-sdk~=1.11.0
2829
sphinx~=5.3.0

0 commit comments

Comments
 (0)