Re: python3 entry_points console scripts packaging question

2019-11-27 Thread Kevin Fenzi
On Wed, Nov 27, 2019 at 05:11:37PM +0100, Dominique Martinet wrote: > Miro Hrončok wrote on Wed, Nov 27, 2019 at 04:32:27PM +0100: ...snip... > > And in Fedora, when you ahve both of those, it also means that > > /usr/bin/python3 is Python 3.8. > > Ok, I thought it was just much less likely but

Re: python3 entry_points console scripts packaging question

2019-11-27 Thread Dominique Martinet
Miro Hrončok wrote on Wed, Nov 27, 2019 at 04:32:27PM +0100: > If I understand this properly, your package requires (in Fedora): > > - /usr/bin/python3 > - python3.8dist(setuptools) Yes, on Fedora 31 the current requires for clustershell (to continue with that example) contain these: $ rpm -q

Re: python3 entry_points console scripts packaging question

2019-11-27 Thread Miro Hrončok
On 27. 11. 19 16:20, Dominique Martinet wrote: Hi, Some context first, skip to the end if you want. We have a few python packages at $work with setuptools entry_points console scripts - basically setuptools creates a small python script for you loading a module and calling the function you

python3 entry_points console scripts packaging question

2019-11-27 Thread Dominique Martinet
Hi, Some context first, skip to the end if you want. We have a few python packages at $work with setuptools entry_points console scripts - basically setuptools creates a small python script for you loading a module and calling the function you specified. For example, clustershell here defines