Content-Length: 264881 | pFad | https://github.com/audreyfeldroy/cookiecutter-pypackage/pull/729

7A - adapted to src structure... moved to pathlib by franzhaas · Pull Request #729 · audreyfeldroy/cookiecutter-pypackage · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- adapted to src structure... moved to pathlib #729

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

franzhaas
Copy link
Contributor

there was a hook change necessary due to the '/src/' change, while being at it I followed alexanders lead moving from os.path to pathlib

cli_file = os.path.join('{{ cookiecutter.project_slug }}', 'cli.py')
remove_file(cli_file)

pathlib.Path('src/{{ cookiecutter.project_slug }}/cli.py').unlink()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pathlib.Path('src/{{ cookiecutter.project_slug }}/cli.py').unlink()
pathlib.Path('src', '{{ cookiecutter.project_slug }}', 'cli.py').unlink()

Copy link
Collaborator

@pydanny pydanny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pydanny pydanny merged commit 56f3002 into audreyfeldroy:master Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/audreyfeldroy/cookiecutter-pypackage/pull/729

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy