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

Update setup.py to handle the situation when $GRADLE_USER_HOME is not "~" #763

Merged
merged 2 commits into from Apr 16, 2024

Conversation

lyh1028
Copy link
Contributor

@lyh1028 lyh1028 commented Apr 16, 2024

When $GRADLE_USER_HOME is not "~", the asset_dir in setup.py wiil be a wrong path.

The PR adapts to the situation when ".gradle" directory is not under "~" directory (User customized environment variables $GRADLE_USER_HOME)

To adapt to the situation when ".gradle" directory is not under "~" directory (User customized environment variables $GRADLE_USER_HOME)
Update setup.py to adapt to $GRADLE_USER_HOME
@pep8speaks
Copy link

Hello @lyh1028! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 79:80: E501 line too long (86 > 79 characters)
Line 82:80: E501 line too long (104 > 79 characters)

Copy link
Contributor

@Miffyli Miffyli left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for adding this support (I am not an avid gradle user, so things like this easily slip through 🙃 )

@Miffyli Miffyli merged commit 9bdb8fe into minerllabs:dev Apr 16, 2024
1 check passed
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.

None yet

3 participants