title: Install pycocotools with poetry( not PEP 517/518 compliant)
body: <p>I am trying to install <a href="https://github.com/cocodataset/cocoapi" rel="nofollow noreferrer">Pycocotools(PythonAPI)</a> package with Poetry, but it fails to do so. As read in <a href="https://stackoverflow.com/questions/66247417/how-to-use-poetry-for-recursive-installation">this case</a>, it seems that this package is not packaged properly, and therefore poetry is unable to install it.</p>
  <p>I tried to follow the procedure on linked question, but build failed. My purpose is to get this to work along with torch etc.</p>
  <p>One option I guess is to submit an issue to the relevant package, but I dont think any changes will be made to their repo, so I am left probably with fixing it myself. Thanks</p>
  <p><code>poetry --version</code>  <code>#1.2.0a1</code></p>
  <p><code>poetry add pycocotools</code></p>
  <blockquote>
  <pre><code> Command ['/home/david/.cache/pypoetry/virtualenvs/torch-coco-detection-l0t67CWY-py3.6/bin/python',
  </code></pre>
  <p>'/home/david/.local/share/pypoetry/venv/lib/python3.6/site-packages/virtualenv/seed/wheels/embed/pip-21.0.1-py3-none-any.whl/pip',
  'install', '--use-pep517', '--disable-pip-version-check', '--prefix',
  '/home/david/.cache/pypoetry/virtualenvs/torch-coco-detection-l0t67CWY-py3.6',
  '--no-deps',
  'file:/home/david/.cache/pypoetry/artifacts/09/27/0c/fc4978bf6a0608be936e16316e3c2ded466882d6fea591754d92e4f931/pycocotools-2.0.2.tar.gz']
  errored with the following return code 1, and output:
  Processing /home/david/.cache/pypoetry/artifacts/09/27/0c/fc4978bf6a0608be936e16316e3c2ded466882d6fea591754d92e4f931/pycocotools-2.0.2.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  ERROR: Command errored out with exit status 1:</p>
  </blockquote>