Closed RamXX closed 6 months ago
same here
The package name needs to have - instead of _. I will have it throw an error
dspygen init my-project Project name should not contain underscores or spaces.
Correct.
"dspygen init my-project" is returning an error stating that the project name cannot contain underscores or spaces. This happen to any name i provide.
Fixed and test. I thanks for the help.
Steps to reproduce:
deactivate
# Just to double check I'm in no other venv.mkdir NewProject ; cd NewProject
python3.11 -m venv .venv ; source .venv/bin/activate
pip install dspygen -U
dspygen init my_new_package email@example.com "My Name"
Message:
ls
reveals a new directory calledmy-package
was created with all the proper structure underneath (but also the wrong package name). It seems the given package name was ignored. Attempting to createmy_new_package
manually does not solve the issue andmy-package
still gets created whilemy_new_package
remains empty.