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

nidaqmx: Use in-project virtualenvs #219

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Mar 7, 2023

What does this Pull Request accomplish?

Configure Poetry to use in-project virtualenvs.

Why should this Pull Request be merged?

This configuration is recommended in NI's internal "Python Getting Started" page and is used by some of NI's other GitHub repos.

Storing the virtualenv in the project's .venv subdirectory ensures that running git clean -dfx or deleting the local Git repo deletes the virtualenv.

What testing has been done?

Ran poetry build, poetry run pytest, and poetry run tox and verified that they do a build, run tests, etc. (Some tests are failing on my test machine, but this doesn't seem related to venv location.)

@zhindes zhindes merged commit 9ec16d3 into master Mar 7, 2023
@bkeryan bkeryan deleted the users/bkeryan/poetry-venvs-in-project branch March 7, 2023 20:51
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.

2 participants