minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
654 stars 151 forks source link

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

Closed lyh1028 closed 2 months ago

lyh1028 commented 2 months ago

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)

pep8speaks commented 2 months ago

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)