Skip to content

Support setuptools.setup #85

@mnonnenmacher

Description

@mnonnenmacher

Currently python-inspector expects that setup.py uses:

from setuptools import setup

setup(
  ...
)

If this syntax is used, python-inspector fails with an exception:

import setuptools

setuptools.setup(
  ...
)
File ".../python_inspector/setup_py_live_eval.py", line 63, in iter_requirements
    assert g["setup"]  # silence warning about unused imports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions