Running python setup.py sdist on a project that's been copied with cookiecutter doesn't work because it can't find package.json in the subdirectory named after the project.
I'm not actually sure if this is the correct fix because there are two identical files in a repo setup by cookiecutter:
Running
python setup.py sdist
on a project that's been copied with cookiecutter doesn't work because it can't find package.json in the subdirectory named after the project.I'm not actually sure if this is the correct fix because there are two identical files in a repo setup by cookiecutter:
I wasn't totally sure whether to use this fix:
or this one:
Both seem to work.