Skip to content

Conversation

@qtests
Copy link

@qtests qtests commented Apr 23, 2024

Added a required library eventkit and fixed the top folder for the strategy import statement


# internal Phoenix FIX example library
from phx.strategy.random import RandomStrategy
from src.phx.strategy.random import RandomStrategy
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is wrong and MUST stay without the source folder reference "src".
You have to read the README.md and do it that way as PyCharm has to know the source folder. That is the only correct way to do it.

Using the project without proper source folder configuration is wrong and conflicts with the "package name" structure of Python: If the package gets installed it will not have the source folder anymore!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Be probably either

  1. remove that file alltogether
  2. move it to the script folder and adjust the path and rename it to run_random.sh
    I prefer 1)

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is correct and should be added

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.

3 participants