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

Allow rename script to work properly. #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jowj
Copy link

@jowj jowj commented Aug 18, 2021

Previously, the rename script would error when trying to rename the my_project_name dir. All the imports would get renamed, which would break any project built off the template.

These issues appear to be caused by the rename script attempting to rename both the main script file (referenced in setup.py) and the script source dir to the same new name. Specifically calling out a distinct name in all places referencing the script file resolves the issue.

The issue this PR resolves does need to be addressed but it does not necessary need to be resolved this way. I chose to rename the script file rather than making an exception in the rename script itself since the ctl suffix is standard across many tools that expose a script to the end user. Notable in the Matrix ecosystem, Synapse does this.

- address bug where rename script causes program to break.
- better follow convention.
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.

1 participant