Distribution file error

Cameron Simpson cs at cskk.id.au
Fri Jun 8 18:05:37 EDT 2018


On 08Jun2018 07:52, Tamara Berger <brgrt2 at gmail.com> wrote:
>I’m trying to create a distribution file for my module, but got an error 
>message. The module, including the setup and read me files, are contained 
>within the folder “mymodules.” I typed this command (per instructions from my 
>workbook) from within mymodules folder:
>
>192:~ TamaraB$ cd Desktop/mymodules/
>192:mymodules TamaraB$ python3 setup.py sdist
>/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory.
>
>Why is this not working?
>
>(I’m working in the OS Sierra terminal.)

The immediate reason that comes to mind is that there's isn't a "setup.py" file 
in that folder. What _is_ in that folder?

We're already discussing this in another thread; it's better to keep all this 
stuff together.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Python-list mailing list