Skip to content

Registers templates with setuptools#39

Open
glenfant wants to merge 20 commits into
collective:masterfrom
glenfant:master
Open

Registers templates with setuptools#39
glenfant wants to merge 20 commits into
collective:masterfrom
glenfant:master

Conversation

@glenfant

Copy link
Copy Markdown
Member

See issue #37 for details.

Comment thread mrbob/configurator.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need another singleton, python module is already a singleton.

Doing following would be enough:

templates_registry = TemplatesRegistry()

And then using that object everywhere.

@glenfant

Copy link
Copy Markdown
Member Author

Okay, I just re-pushed the stuff after having incorporated / merging your latest changes. It should be easier from now to include the pull request. Sorry for all this.

@domenkozar

Copy link
Copy Markdown
Member

Seems like this made it even worse, can you try to rebase the commits on top of current master?

@glenfant

Copy link
Copy Markdown
Member Author

Hi, I included in my master your latest changes. pulling from my repo should not suck as before :)
Cheers...

@domenkozar

Copy link
Copy Markdown
Member

Will review this and merge, as soon as I find time

@glenfant

Copy link
Copy Markdown
Member Author

You can test the new feature with bobtemplates.gillux that's already registering its 2 templates the setuptools way.

http://pypi.python.org/pypi/bobtemplates.gillux

@domenkozar

Copy link
Copy Markdown
Member

Ah, this is taking ages, will try to get to it in next days.

@glenfant

glenfant commented Jan 3, 2014

Copy link
Copy Markdown
Member Author

BTW, I introduced in the last changes the fix for Windows users. See #49
This PR will be 1 year old. Do you plan to merge it one of these days or should I consider to abandon it ? (not a troll)

@domenkozar

Copy link
Copy Markdown
Member

@glenfant nop, just didn't get to it yet. Some PEP8 is failing, would you mind fixing that?

@domenkozar

Copy link
Copy Markdown
Member

I just released 0.1, this will probably be part of 0.2

@gotcha

gotcha commented Jun 22, 2015

Copy link
Copy Markdown
Member

@domenkozar You closed the related issue but did nor merge. What is the plan ?

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

Successfully merging this pull request may close these issues.

4 participants