<p dir="ltr">On Apr 14, 2016 11:52 PM, "Luí­s de Sousa" <<a href="mailto:distutils-sig@python.org">distutils-sig@python.org</a>> wrote:<br>
><br>
> Hi Marius, thank you for the reply.<br>
><br>
> If I remove the line # coding=utf8, I get the following error:<br>
><br>
> $ python setup.py bdist_wheel --universal<br>
>   File "setup.py", line 18<br>
> SyntaxError: Non-ASCII character '\xc3' in file setup.py on line 18, but no encoding declared; see <a href="http://www.python.org/peps/pep-0263.html">http://www.python.org/peps/pep-0263.html</a> for details<br>
><br>
> I created main functions in each of these scripts and altered the entry points bit to:<br>
><br>
> entry_points={<br>
>     'console_scripts': [<br>
>         'scriptA=proj:scriptA:main',<br>
>         'scriptB=proj:scriptB:main'<br>
>     ],<br>
> },<br>
><br>
> This way I get this error:<br>
><br>
> $ python setup.py bdist_wheel --universal<br>
> error in proj setup command: ("EntryPoint must be in 'name=module:attrs [extras]' format", 'scriptA=proj:scriptA:main')</p>
<p dir="ltr">Here your problem is that entry points should have only one : in them. You want</p>
<p dir="ltr">proj.scriptA:main</p>
<p dir="ltr">(This means: do 'import proj.scriptA', then call 'proj.scriptA.main'. You can have as many dots as you want on either side of the :, and the colon marks how much of your dotted string gets passed to 'import'.)</p>
<p dir="ltr">-n</p>