Return a mapping of arguments passed to a setup.py setup() function. Also include not parsable identifiers values such as variable name and attribute references if ``include_not_parsable`` is True
(location, include_not_parsable=False)
| 2517 | |
| 2518 | |
| 2519 | def get_setup_py_args(location, include_not_parsable=False): |
| 2520 | """ |
| 2521 | Return a mapping of arguments passed to a setup.py setup() function. Also |
| 2522 | include not parsable identifiers values such as variable name and attribute |
| 2523 | references if ``include_not_parsable`` is True |
| 2524 | """ |
| 2525 | from packagedcode.pypi_setup_py import parse_setup_py |
| 2526 | return parse_setup_py(location) |
| 2527 | |
| 2528 | |
| 2529 | def get_pypi_urls(name, version, **kwargs): |