grayskull
grayskull copied to clipboard
[BUG] Sometimes package names with hyphens use underscores for import
Describe the bug In a name such as package-name, import will be often package_name and pypi url will be a mix of both.
To Reproduce Steps to reproduce the behavior: Use grayskull to make a recipe for eth-abi
Expected behavior A clear and concise description of what you expected to happen. Right module name is imported.
Environment:
- grayskull --version = 0.7.3
Additional context Example url https://pypi.org/project/eth-abi/
Thanks again for reporting it!
Related to https://github.com/marcelotrevisani/grayskull/issues/150
That was fixed a while ago but I forgot to close it, sorry.