Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactor setup.py to use dynamic prefix and accept venv. #132

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

Conversation

allan-kg
Copy link

Instead of hardcoding '/usr', use the prefix according to the environment.

It also :

  • Creates missing directories if necessary (equivalent of mkdir -p)
  • Uses target paths as variables instead of hardcoded strings.
    • Differentiating between path, file, and dir is something that I was thinking about when writing and I chose to use path on all of them. If it is preferable to differentiate, please let me know.

Instead of hardcoding '/usr', use the prefix according to the environment.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant