update setuptools; remove header

So users don't need to manually exclude the header from the git commit
This commit is contained in:
Damien Elmes 2020-12-21 13:44:29 +10:00
parent f41d523cb8
commit 198639a095
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,3 @@
# See README.md
appdirs==1.4.4 # via black
astroid==2.4.2 # via pylint
atomicwrites==1.4.0 ; sys_platform == "win32" # via -r requirements.in, pytest
@ -62,4 +60,4 @@ wrapt==1.12.1 # via astroid
# The following packages are considered to be unsafe in a requirements file:
pip==20.3.3 # via pip-tools
setuptools==51.0.0 # via jsonschema
setuptools==51.1.0.post20201221 # via jsonschema

View File

@ -3,15 +3,16 @@ import os
import click
from piptools.scripts import compile
@click.group()
def cli():
pass
cli.add_command(compile.cli, "compile")
print("Updating deps...")
os.chdir("pip")
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade"]
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"]
cli()