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

Move code to src directory #74

Merged
merged 6 commits into from
Jul 23, 2024
Merged

Move code to src directory #74

merged 6 commits into from
Jul 23, 2024

Conversation

sritchie
Copy link
Contributor

@sritchie sritchie commented Jul 23, 2024

This PR moves all code into a src directory, instead of the current flat package structure. This is a prerequisite for the reproducible build that @eightysteele is working on, and is a good change anyway for a project destined to become a library.

@@ -79,5 +80,5 @@
"b3d_push = b3d.bucket_utils.b3d_push:upload_to_bucket",
]
},
python_requires=">=3.6",
python_requires=">=3.10",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is true because of genjax, so let's make it true in setup.py...

@@ -29,7 +29,7 @@


def get_root_path() -> Path:
return Path(Path(b3d.__file__).parents[1])
return Path(Path(b3d.__file__).parents[2])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the ONE change that gets the test passing, other than the setup.py changes.

@sritchie sritchie merged commit 3ecaa2e into main Jul 23, 2024
1 check passed
@sritchie sritchie deleted the sritchie/src branch July 23, 2024 15:18
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