diff --git a/__init__.py b/__init__.py index e69de29..fd1e2e3 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1,12 @@ +from .gitea import ( + Gitea, + User, + Organization, + Team, + Repository, + Branch, + NotFoundException, + AlreadyExistsException, + Issue, + Milestone, +) \ No newline at end of file diff --git a/gitea/__init__.py b/gitea/__init__.py index 7e36b1b..4ec9cb9 100644 --- a/gitea/__init__.py +++ b/gitea/__init__.py @@ -5,9 +5,9 @@ from .gitea import ( Team, Repository, Branch, - version, NotFoundException, AlreadyExistsException, Issue, Milestone, ) + diff --git a/gitea/gitea.py b/gitea/gitea.py index 4505748..fa2e42e 100644 --- a/gitea/gitea.py +++ b/gitea/gitea.py @@ -4,7 +4,6 @@ import logging from datetime import datetime logging = logging.getLogger("gitea") -version = "0.4.6" class AlreadyExistsException(Exception): pass