Reputation: 364
im using this guide to generate a python-environment.
pip freeze > requirements.txt
and then
python -m pip install -r requirements.txt
There are some windows-specific packages that I use but do not want to be in the requirements.txt. Is there a way to acive this?
pywin32==228
pywin32-ctypes==0.2.0
if not, can i install and ignore those modules, since the installation process will always stop at pywin and will not install the packages that come afterwards.
Upvotes: 1
Views: 655
Reputation: 5615
You can use Environment Markers in your requirements.txt
pywin32==228; platform_system=="Windows"
Upvotes: 2