rail-berkeley / serl

SERL: A Software Suite for Sample-Efficient Robotic Reinforcement Learning
https://serl-robot.github.io/
MIT License
381 stars 44 forks source link

Adding __init__.py files for complete package discovery #70

Closed BurakDmb closed 4 months ago

BurakDmb commented 4 months ago

Hello,

While installing the serl_launcher package, I noticed that the Setuptools are not discovering some subdirectories when we don't use the editable/development ("-e") mode.

For the users who need to use SERL without editable mode, this PR adds empty __init__.py files, which were missing for some subdirectories.

According to the reference, empty __init__.py files must be present for all the subdirectories to make Setuptools properly discover the package via the find_packages() in setup.py.

Can you please check if I miss any other subdirectory? Thanks :)

Reference: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#finding-simple-packages