Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module name hyphenation error is raised, even though module name doesn't contain hyphens #82

Open
j-wags opened this issue Jun 27, 2019 · 0 comments

Comments

@j-wags
Copy link
Contributor

j-wags commented Jun 27, 2019

I'm trying to make a new repo where the repo name has hyphens, but not the module name. This is raising the following error:

(openforcefield) jwagner@MBP-S$ cookiecutter gh:molssi/cookiecutter-cms
You've downloaded /Users/jwagner/.cookiecutters/cookiecutter-cms before. Is it okay to delete and re-download it? [yes]: 
project_name [ProjectName]: NistDataSelection
repo_name [nistdataselection]: nist-data-selection    
first_module_name [nist-data-selection]: NistDataSelection
author_name [Your name (or your organization/company/team)]: Open Force Field Consortium
author_email [Your email (or your organization/company/team)]: [email protected]
description [A short description of the project.]: Records the tools and decisions used to select NIST data for curation.
Select open_source_license:
1 - MIT
2 - BSD-3-Clause
3 - LGPLv3
4 - Not Open Source
Choose from 1, 2, 3, 4 (1, 2, 3, 4) [1]: 
Select dependency_source:
1 - Prefer conda-forge over the default anaconda channel with pip fallback
2 - Prefer default anaconda channel with pip fallback
3 - Dependencies from pip only (no conda)
Choose from 1, 2, 3 (1, 2, 3) [1]: 
Select Include_Windows_continuous_integration:
1 - y
2 - n
Choose from 1, 2 (1, 2) [1]: 
nist-data-selection None
ERROR: "nist-data-selection" is not a valid Python module name!
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant