Skip to content

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

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

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.
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