Fix packaging

This commit is contained in:
Maël Kervella 2018-05-24 13:04:04 +00:00
parent 5fc14b1b13
commit 2ce1b7155d
3 changed files with 5 additions and 4 deletions

View file

@ -1 +1,4 @@
from .re2oapi import Re2oAPI from .re2oapi import Re2oAPIClient
from .re2oapi import exceptions
__all__ = ['Re2oAPIClient', 'exceptions']

View file

@ -1,2 +0,0 @@
from .api import Re2oAPI
from . import exceptions

View file

@ -8,7 +8,7 @@ from . import exceptions
TIME_FOR_RENEW = 60 TIME_FOR_RENEW = 60
class Re2oAPI: class Re2oAPIClient:
def __init__(self, hostname, username, password, use_tls=True): def __init__(self, hostname, username, password, use_tls=True):
self.use_tls = use_tls self.use_tls = use_tls