Open arky opened 3 years ago
This is actually allowed syntax, but I'm aware that we still have problems with dashes or underlines in package names. We have to test a bit more and find a more robust way to nromalize the package name. Help is very welcome here ;)
@MrTango Meanwhile I think a good solution is to document this gotcha in the documentation to save people from pulling out their hair. :D
indeed, PR welcome ;)
@MrTango Attempted to fix it here https://github.com/plone/plonecli/pull/77/files
Note that setuptools provides:
from setuptools.package_index import safe_name
I used that to fix a mr.developer issue with -
in the package name:
You might want to use it to handle this issue as well.
Description
Create an addon with '-' in the name. This makes the package incompatible with pip.
What I Did