manchenkoff / openapi3-parser

OpenAPI 3 parser to use a specification inside of the code in your projects
https://pypi.org/project/openapi3-parser/
MIT License
64 stars 33 forks source link

[BUG] The library isn't installed via git+ #46

Open xitowzys opened 1 year ago

xitowzys commented 1 year ago

Describe the bug When you enter the pip install git+https://github.com/manchenkoff/openapi3-parser.git command, it does not allow you to install the library and the following error is displayed: ModuleNotFoundError: No module named 'prance'

To Reproduce

  1. Open the console
  2. Enter pip install git+https://github.com/manchenkoff/openapi3-parser.git

Expected behavior When entering the command pip install git+https://github.com/manchenkoff/openapi3-parser.git the correct installation of the library was expected

System details

Proposed solution Move all constants (__version__, __name__, __author__, etc.) and remove openapi_parser import to setup.py

manchenkoff commented 1 year ago

Hey @xitowzys, nice catch, thanks 👍 I haven't tried this installation option, will try to use your suggestions

xitowzys commented 1 year ago

@manchenkoff The pleasure was all mine)