diff --git a/halfapi/cli/__init__.py b/halfapi/cli/__init__.py index 3eecc08..64981ac 100644 --- a/halfapi/cli/__init__.py +++ b/halfapi/cli/__init__.py @@ -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) diff --git a/setup.py b/setup.py index 6c4a686..15e5be2 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,6 @@ setup( "starlette", "half_orm @ git+ssh://git@gite.lirmm.fr/maizi/halfORM.git", "click", - "pygit2", "uvicorn" ], extras_require={