Fails with StudlyCaps project names. #6

Closed
jwashin opened this Issue Mar 23, 2012 · 2 comments

Comments

Projects
None yet
2 participants

jwashin commented Mar 23, 2012

Works fine with lowercase project names. Needs to work with StudlyCaps project names.

The issue is with the way scaffold creates the project. The project is created with the name provided, usually in StudlyCaps. The internal package is usually created with a different name, the lowercase of the project name. This causes the buildout to fail because package != project.

The simple and correct solution is to refer to {{package}} instead of {{project}} in the buildout.cfg_tmpl when referring to the src directory. e.g., develop=src/{{package}} instead of develop=src/{{project}}.

Owner

twillis commented Mar 23, 2012

DOH, thanks for reporting this. I should be able to get that fixed and a new release cut.

@twillis twillis added a commit that referenced this issue Mar 23, 2012

@twillis twillis github issue #6 17d9e86
Owner

twillis commented Mar 23, 2012

should be fixed in release 0.5.2. Thanks again

twillis closed this Mar 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment