Re: Manager for project templates, that allows "incremental" feature addition
Lele Gaifax writes: > Paul Moore writes: > >> On Thursday, 23 March 2017 15:56:43 UTC, Paul Moore wrote: >> >> Sadly, it doesn't support Windows, which is what I use. > > FYI, I just saw https://pypi.python.org/pypi/what/0.4.0, that seems an > alternative port of Inquirer.js. Unfortunately it's Py2 only :-\ I contributed support for Python 3, so what 0.5.2 is usable with modern snakes! > If you can try it under Windows, maybe I could be convinced in contributing > some Py3 compatibility fixes, and try to support that too in my tinject. I released https://pypi.python.org/pypi/metapensiero.tool.tinject/0.7, now using what: I'd be curious to know if it works under Windows. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- https://mail.python.org/mailman/listinfo/python-list
Re: Manager for project templates, that allows "incremental" feature addition
Paul Moore writes: > On Thursday, 23 March 2017 15:56:43 UTC, Paul Moore wrote: > > Sadly, it doesn't support Windows, which is what I use. FYI, I just saw https://pypi.python.org/pypi/what/0.4.0, that seems an alternative port of Inquirer.js. Unfortunately it's Py2 only :-\ If you can try it under Windows, maybe I could be convinced in contributing some Py3 compatibility fixes, and try to support that too in my tinject. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- https://mail.python.org/mailman/listinfo/python-list
Re: Manager for project templates, that allows "incremental" feature addition
Paul Moore writes: > Sadly, it doesn't support Windows, which is what I use. I'm sorry, there is little I can do on that front, but if you come up with an alternative library, please let me know. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- https://mail.python.org/mailman/listinfo/python-list
Re: Manager for project templates, that allows "incremental" feature addition
On Thursday, 23 March 2017 15:56:43 UTC, Paul Moore wrote: > On Wednesday, 22 March 2017 09:41:21 UTC, Lele Gaifax wrote: > > This what I wrote and heavily use > > > > https://pypi.python.org/pypi/metapensiero.tool.tinject > > > > It seems to fit some, but not all, of your requested features. > > Thanks - it looks like it could be very useful. I'll certainly give it a try! Sadly, it doesn't support Windows, which is what I use. The "inquirer" dependency is the problem - it has a pinned dependency on an old version of readchar that has a bug (since fixed) on Windows, and it depends on blessings, which needs curses, which isn't in the stdlib on Windows, although I could get a 3rd party version. Pity, as it looked very interesting. Thanks anyway for the suggestion. Paul -- https://mail.python.org/mailman/listinfo/python-list
Re: Manager for project templates, that allows "incremental" feature addition
On Wednesday, 22 March 2017 09:41:21 UTC, Lele Gaifax wrote: > This what I wrote and heavily use > > https://pypi.python.org/pypi/metapensiero.tool.tinject > > It seems to fit some, but not all, of your requested features. Thanks - it looks like it could be very useful. I'll certainly give it a try! Paul -- https://mail.python.org/mailman/listinfo/python-list
Re: Manager for project templates, that allows "incremental" feature addition
Paul Moore writes: > I'm looking for a utility that is something like cookiecutter, in that it > generates a "template" project for me. However, I would like the ability to > have a template add content based on runtime questions, something like > >Do you want to include a C extension? [yes/no] >... adds Extension() to setup.py, adds a C source file, etc >Do you want to include tests? [yes/no] >... add a test directory with a sample test >Tests to run under tox? [yes/no] >... add tox support (this question shouldn't be asked if the previous > answer was "no") > > As far as I know, this sort of feature isn't available in cookiecutter, nor > is it planned. > > Does anyone know of any similar utility that has this feature? This what I wrote and heavily use https://pypi.python.org/pypi/metapensiero.tool.tinject It seems to fit some, but not all, of your requested features. Hope this helps, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- https://mail.python.org/mailman/listinfo/python-list