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
65 stars 34 forks source link

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

Open xitowzys opened 2 years ago

xitowzys commented 2 years 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 2 years ago

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

xitowzys commented 2 years ago

@manchenkoff The pleasure was all mine)