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

Rename pytools to analysator #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Rename pytools to analysator #122

wants to merge 2 commits into from

Conversation

ursg
Copy link
Contributor

@ursg ursg commented Jan 17, 2020

This requires all scripts to be changed. A simple
"sed -i 's/pytools/analysator/g' filename.py" should to the trick.

This requires all scripts to be changed. A simple
"sed -i 's/pytools/analysator/g' filename.py" should to the trick.
@markusbattarbee
Copy link
Contributor

This would be quite a massive change, everyone would need to be onboard and agree to update all their personal scripts to work with this change. I tried looking into the option of using an alias, e.g. allowing an user to after this change make an alias of "pytools" that would in fact point to analysator (so that old scripts would still work) but that doesn't seem feasible. There's something along those lines in
https://uwsgi-docs.readthedocs.io/en/latest/index.html
https://uwsgi-docs.readthedocs.io/en/latest/PythonModuleAlias.html
so could look into if that would somehow be adaptable... otherwise, lots of script altering would be needed for everyone.

@alhom
Copy link
Contributor

alhom commented Jun 11, 2024

Leaving this note on how to customize Python's import system for later hacking.

http://blog.dowski.com/2008/07/31/customizing-the-python-import-system/

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