update setuptools; remove header
So users don't need to manually exclude the header from the git commit
This commit is contained in:
parent
f41d523cb8
commit
198639a095
@ -1,5 +1,3 @@
|
|||||||
# See README.md
|
|
||||||
|
|
||||||
appdirs==1.4.4 # via black
|
appdirs==1.4.4 # via black
|
||||||
astroid==2.4.2 # via pylint
|
astroid==2.4.2 # via pylint
|
||||||
atomicwrites==1.4.0 ; sys_platform == "win32" # via -r requirements.in, pytest
|
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:
|
# The following packages are considered to be unsafe in a requirements file:
|
||||||
pip==20.3.3 # via pip-tools
|
pip==20.3.3 # via pip-tools
|
||||||
setuptools==51.0.0 # via jsonschema
|
setuptools==51.1.0.post20201221 # via jsonschema
|
||||||
|
@ -3,15 +3,16 @@ import os
|
|||||||
import click
|
import click
|
||||||
from piptools.scripts import compile
|
from piptools.scripts import compile
|
||||||
|
|
||||||
|
|
||||||
@click.group()
|
@click.group()
|
||||||
def cli():
|
def cli():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
cli.add_command(compile.cli, "compile")
|
cli.add_command(compile.cli, "compile")
|
||||||
|
|
||||||
print("Updating deps...")
|
print("Updating deps...")
|
||||||
os.chdir("pip")
|
os.chdir("pip")
|
||||||
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade"]
|
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"]
|
||||||
|
|
||||||
cli()
|
cli()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user