Skip to content

🔍 ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!

Notifications You must be signed in to change notification settings

aboutcode-org/scancode-toolkit

Repository files navigation

dephell_setuptools

Extract meta information from setup.py.

Install:

python3 -m pip install --user dephell_setuptools

CLI:

python3 -m dephell_setuptools ./setup.py

Lib:

from pathlib import Path
from dephell_setuptools import read_setup

result = read_setup(path=Path('setup.py'))