Skip to content

Conversation

scott------
Copy link
Contributor

The installation was failing due to setuptools discovering multiple top-level modules in the flat project layout. This commit updates the pyproject.toml by explicitly specifying:

• The standalone modules ("config.py", "server.py", "unity_connection.py") via the py-modules field. • The "tools" directory as a package via the packages field.

These changes resolve the "multiple top-level modules discovered" error encountered during uv pip install -e . and ensure a clean, predictable package build.

The installation was failing due to setuptools discovering multiple top-level modules in the flat project layout. This commit updates the pyproject.toml by explicitly specifying:
  
• The standalone modules ("config.py", "server.py", "unity_connection.py") via the py-modules field.  
• The "tools" directory as a package via the packages field.
  
These changes resolve the "multiple top-level modules discovered" error encountered during `uv pip install -e .` and ensure a clean, predictable package build.
@justinpbarnett justinpbarnett merged commit e0ccea0 into CoplayDev:master Mar 18, 2025
@justinpbarnett
Copy link
Collaborator

Thanks!! Totally missed setting this file up 😅 it's been a busy day

@justinpbarnett justinpbarnett added the bug Something isn't working label Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants