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

Src hierarchy part 1 #150

Merged
merged 4 commits into from
Apr 1, 2023
Merged

Src hierarchy part 1 #150

merged 4 commits into from
Apr 1, 2023

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Apr 1, 2023

Part 1 of #149 to hopefully pass CI.

The .PHONY part wasn't updated when the targets were renamed.
'pip install -e .' does not work with setup.cfg directly.
Install hawkmoth in editable mode for development and testing. Use
strict mode to only use the packages described in setup.cfg [1].

This in itself does not yet detect broken packaging, because the current
directory is in python path, and the packages can be found directly in
the hawkmoth directory.

Upgrading pip and setuptools seems to be necessary on some distros when
using --system-site-packages to avoid issues.

[1] https://setuptools.pypa.io/en/latest/userguide/development_mode.html#strict-editable-installs
@jnikula
Copy link
Owner Author

jnikula commented Apr 1, 2023

Fail, back to the drawing board.

@jnikula jnikula closed this Apr 1, 2023
@jnikula
Copy link
Owner Author

jnikula commented Apr 1, 2023

@BrunoMSantos Seems to work now. Also fixed the .PHONY stuff.

@jnikula jnikula mentioned this pull request Apr 1, 2023
@BrunoMSantos
Copy link
Collaborator

Looks good! Not sure why it needs to be in 2 parts, but works for me.

@jnikula
Copy link
Owner Author

jnikula commented Apr 1, 2023

Looks good! Not sure why it needs to be in 2 parts, but works for me.

Yeah, maybe it wouldn't have needed to be, I had one idea why it failed and stuck to it even after reading your comment about the separate shells. Oh well.

@jnikula jnikula merged commit 52292dc into master Apr 1, 2023
4 checks passed
@BrunoMSantos
Copy link
Collaborator

Looks good! Not sure why it needs to be in 2 parts, but works for me.

Yeah, maybe it wouldn't have needed to be, I had one idea why it failed and stuck to it even after reading your comment about the separate shells. Oh well.

Yup, thought so, but it won't matter after the merge ;)

@jnikula jnikula deleted the src-hierarchy-part-1 branch April 1, 2023 19:07
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.

None yet

2 participants