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

mismatch between installed package and package called in init to set the version #114

Closed
IAlibay opened this issue May 24, 2024 · 1 comment

Comments

@IAlibay
Copy link
Member

IAlibay commented May 24, 2024

The cookiecutter sets the package name using cookiecutter.repo_name here: https://github.com/MDAnalysis/cookiecutter-mdakit/blob/main/%7B%7Bcookiecutter.repo_name%7D%7D/pyproject.toml#L9

but then sets the version using cookiecutter.package_name here: https://github.com/MDAnalysis/cookiecutter-mdakit/blob/main/%7B%7Bcookiecutter.repo_name%7D%7D/pyproject.toml#L9

In some cases cookiecutter.repo_name != cookiecutter.package_name (for example when @orbeckst created mdgeomkit, repo_name=mdgeomkit, and package_name=mdgeom). When this occurs the init version setter fails because it can't find the installed package.

@lilyminium
Copy link
Member

lilyminium commented Jun 22, 2024

I believe this was fixed in #115

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

2 participants