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

build: Update license identifier #299

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ keywords = [
"Test & Measurement",
"VISA"
]
license = "Apache License 2.0"
license = "Apache-2.0"
maintainers = [
"Tektronix <opensource@tektronix.com>",
"Nicholas Felt <nicholas.felt@tektronix.com>"
Expand Down
12 changes: 6 additions & 6 deletions scripts/contributor_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_virtual_environment(virtual_env_dir: str | os.PathLike[str]) -> None:
virtual_env_dir: The directory where the virtual environment should be created
"""
print(f"\nCreating virtualenv located at '{virtual_env_dir}'")
_run_cmd_in_subprocess(f"{sys.executable} -m venv {virtual_env_dir} --clear")
_run_cmd_in_subprocess(f'"{sys.executable}" -m venv "{virtual_env_dir}" --clear')


def _run_cmd_in_subprocess(command: str) -> None:
Expand Down Expand Up @@ -84,11 +84,11 @@ def main() -> None:
)
python_executable = files[0]
commands_to_send = (
f"{python_executable} -m pip install -U pip wheel poetry",
f"{python_executable} -m poetry install",
f"{python_executable} -m nodeenv --python-virtualenv --clean-src",
f"{python_executable} -m pre_commit install --install-hooks",
f"{python_executable} -m tox -e tests",
f'"{python_executable}" -m pip install -U pip wheel poetry',
f'"{python_executable}" -m poetry install',
f'"{python_executable}" -m nodeenv --python-virtualenv --clean-src',
f'"{python_executable}" -m pre_commit install --install-hooks',
f'"{python_executable}" -m tox -e tests',
)
for command in commands_to_send:
_run_cmd_in_subprocess(command)
Expand Down
Loading