I'm following Python's Packaging Projects tutorial and when it tells to run python3 setup.py sdist bdist_wheel
I receive the following error:
PS C:\Users\username\dev\packaging_tutorial> python setup.py sdist
bdist_wheel
File "setup.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xff' in file setup.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
I have no idea why I get this error since my setup.py file is identical to theirs. Has anyone had the same problem?