Skip to content

Instantly share code, notes, and snippets.

@pradishb
Created November 11, 2020 05:35
Show Gist options
  • Save pradishb/c9c862f2b9de8bb0c9efa39e2bd456ea to your computer and use it in GitHub Desktop.
Save pradishb/c9c862f2b9de8bb0c9efa39e2bd456ea to your computer and use it in GitHub Desktop.
Windows batch script to generate requirements.txt without pylint and autopep8
@echo off
echo Generating requirements.txt...
pip freeze | ^
find /V "six" | ^
find /V "astroid" | ^
find /V "autopep8" | ^
find /V "colorama" | ^
find /V "isort" | ^
find /V "lazy" | ^
find /V "mccabe" | ^
find /V "pycodestyle" | ^
find /V "pylint" | ^
find /V "six" | ^
find /V "toml" | ^
find /V "typed" | ^
find /V "wrapt" > requirements.txt
echo Complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment