Skip to content

Commit

Permalink
Fixed import statement and added requirements file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Oct 11, 2019
1 parent 33cc0fb commit 1f78276
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyHTTPInterface/Exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# limitations under the License.
# ============================================================================
#
from lib.pyExceptions import ExceptionBase
from pyExceptions import ExceptionBase


class HTTPInterfaceException(ExceptionBase):
Expand Down
5 changes: 3 additions & 2 deletions pyHTTPInterface/Request.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
# ============================================================================
#
from textwrap import dedent
from typing import Dict
from typing import Dict

from pyGenericPath.URL import URL

from lib.pyGenericPath.URL import URL
from . import HTTPMethods, HTTPVersion


Expand Down
4 changes: 1 addition & 3 deletions pyHTTPInterface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"ContentKinds",
"ReturnCodes",
"Request",
"Response",
"HTTPRequestHandler"
"Response"
]
__all__ = __api__

Expand Down Expand Up @@ -82,4 +81,3 @@ class ReturnCodes(Flags):

from .Request import Request
from .Response import Response
from .HTTPRequestHandler import HTTPRequestHandler
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
py-flags

pyExceptions
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

setuptools.setup(
name="pyHTTPInterface",
version="0.1.0",
version="0.1.1",
author="Patrick Lehmann",
author_email="Paebbels@gmail.com",
description="An interface for HTTP Requests and Responses.",
Expand Down

0 comments on commit 1f78276

Please sign in to comment.