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

New library + top folder #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

New library + top folder #6

wants to merge 2 commits into from

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

@@ -11,7 +11,7 @@
from phx.fix.model.auth import FixAuthenticationMethod

# 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.

2 participants