Is there a way to have a conditional requirements.txt file for my Python application based on platform?

I have a python application that I wrote to be compatible with both, Linux and Windows platforms. However there is one problem… One of the python packages I need for Windows is not compatible with Linux. Fortunately there is another package that provides the same functionality on Linux. All other dependencies are compatible in both platforms.