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

Bug when package name has a dash #238

Closed
paulie4 opened this issue May 13, 2014 · 0 comments
Closed

Bug when package name has a dash #238

paulie4 opened this issue May 13, 2014 · 0 comments

Comments

@paulie4
Copy link

paulie4 commented May 13, 2014

Pyramid's .ini scaffolds have use = egg:{{project}} in them, but cornice/scaffolds/cornice/+package+.ini_tmpl has use = egg:{{package}}. This creates a .ini file with an incorrect egg reference, which causes a pkg_resources.DistributionNotFound exception when pserve is run. I've tested that replacing {{package}} with {{project}} does fix this issue, and I can only assume that nothing else will break with this change.

leplatrem added a commit that referenced this issue Aug 23, 2016
Scaffold now works when project name contains dashes (fixes #238)
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