Remove gitpy2 dependency.

This commit is contained in:
Joël Maïzi 2020-08-05 09:21:59 +02:00
parent b34631cdd0
commit 36f87849ca
2 changed files with 0 additions and 4 deletions

View File

@ -346,8 +346,6 @@ def update_db(domains):
@click.option('--repo', default=None)
@cli.command()
def init_project(project, repo):
import pygit2
if not re.match('^[a-z0-9_]+$', project, re.I):
click.echo('Project name must match "^[a-z0-9_]+$", retry.', err=True)
sys.exit(1)
@ -358,7 +356,6 @@ def init_project(project, repo):
click.echo(f'Initialize project repository in directory {project}')
pygit2.init_repository(project)
try:
pdb = ProjectDB(project)

View File

@ -47,7 +47,6 @@ setup(
"starlette",
"half_orm @ git+ssh://git@gite.lirmm.fr/maizi/halfORM.git",
"click",
"pygit2",
"uvicorn"
],
extras_require={