Skip to content

fix setup path#1

Closed
zzj0402 wants to merge 2 commits intocage-challenge:mainfrom
zzj0402:main
Closed

fix setup path#1
zzj0402 wants to merge 2 commits intocage-challenge:mainfrom
zzj0402:main

Conversation

@zzj0402
Copy link

@zzj0402 zzj0402 commented Oct 8, 2022

No description provided.

@hkscy
Copy link
Contributor

hkscy commented Oct 10, 2022

Agree this is needed. Steps to reproduce are simply:
% pip3 install -e .
which yields:

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/Users/user/Documents/Development/CybORG/cage-challenge-3/CybORG/setup.py", line 11, in <module>
          with open('../../PycharmProjects/CybORG/CybORG/version.txt') as f:
      FileNotFoundError: [Errno 2] No such file or directory: '../../PycharmProjects/CybORG/CybORG/version.txt'
      [end of output]

@maxstanden
Copy link
Collaborator

Thanks for finding that. I've made the fix to the setup.py and it is working on our end.

@maxstanden maxstanden closed this Oct 11, 2022
@mjspeck
Copy link

mjspeck commented Sep 6, 2024

Hi, this problem still happens after installation. But my PR should fix it.

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.

4 participants