zurutech / cookiecutter-pypackage

:cookie: Cookiecutter :cookie: (https://github.com/audreyr/cookiecutter) opinionated template for a Python package compliant with https://github.com/zurutech/styleguide.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

I don't want an author file #26

Closed EmanueleGhelfi closed 4 years ago

EmanueleGhelfi commented 4 years ago

Description

I want to create a new repo without an author file.

What I Did

cookiecutter https://github.com/zurutech/cookiecutter-pypackage.git

I followed the instructions and selected No author file.

The error is:

“Keep calm and eat cookies.”
Traceback (most recent call last):
  File "/tmp/tmprs6wfyz9.py", line 29, in <module>
    remove_file("docs/authors.rst")
  File "/tmp/tmprs6wfyz9.py", line 14, in remove_file
    os.remove(os.path.join(PROJECT_DIRECTORY, filepath))
FileNotFoundError: [Errno 2] No such file or directory: '/home/emanuele/development/stitching-benchmark/stitching-benchmark/docs/authors.rst'
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
mr-ubik commented 4 years ago

You should want one 👀 .

mr-ubik commented 4 years ago

Fixed by 7615c98 .