Skip to content

Comments

examples/vhdl: use pathlib instead of join and dirname#612

Merged
eine merged 1 commit intoVUnit:masterfrom
eine:use-pathlib
Jan 23, 2020
Merged

examples/vhdl: use pathlib instead of join and dirname#612
eine merged 1 commit intoVUnit:masterfrom
eine:use-pathlib

Conversation

@eine
Copy link
Collaborator

@eine eine commented Jan 15, 2020

Since Python 2 is deprecated, in this PR the run.py files in examples/vhdl/** are modified to use Path from pathlib, instead of join and dirname from os.path.

At the same time in a couple of places popen from os was used. Those are replaced with check_call from subprocess.

@eine eine merged commit beb161f into VUnit:master Jan 23, 2020
@eine eine deleted the use-pathlib branch January 23, 2020 19:23
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