openapi3-parser icon indicating copy to clipboard operation
openapi3-parser copied to clipboard

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

Open xitowzys opened this issue 3 years ago • 2 comments

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

  • OS: macOS 13.0
  • OpenAPI version: 3.0.2
  • Python version: 3.10.8

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

xitowzys avatar Nov 02 '22 17:11 xitowzys

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

manchenkoff avatar Nov 02 '22 18:11 manchenkoff

@manchenkoff The pleasure was all mine)

xitowzys avatar Nov 02 '22 18:11 xitowzys