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

Use path in setupbase.py #13168

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

heksadecimal
Copy link

for #12515

Copy link
Member

@Carreau Carreau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution ! This is a great start, though I believe you can go further.

One of the reason to use Pathlib is to simplify a lot of the code handling later, and avoid usage of methods like os.path.join and others.

I gave you some examples of how you could make use of Pathlib. There are others, you can try to find them if you wish to.

setupbase.py Outdated Show resolved Hide resolved
setupbase.py Outdated Show resolved Hide resolved
heksadecimal and others added 3 commits October 4, 2021 08:03
removed `os.path.join` with a better alternative

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants