Help Charlene to create her repository into a package (remember to commit after each step).
Choose who in your team is writing now! (make sure you've got a fork and a local copy of Charlene's repository)
Add a .gitignore file to the repository to avoid adding artefacts created by python or your text editor. You can use gitignore.io to generate a file for your needs.
Make sure you are in a python environment (e.g., comp0233's conda environment) and try to install it by running pip install -e . from the command line, in the filesystem location where the pyproject.toml is.
Share your solution as a pull request to Charlene's repository mentioning this issue (by including the text Addresses UCL-COMP0233-24-25/RSE-Classwork#31 in the pull request description), remember to mention your team members too! (with @github_username)
🎉 Congratulations, you've created a Python package! Now, let's see what can be improved about it in the subsequent issues!
Help Charlene to create her repository into a package (remember to commit after each step).
Choose who in your team is writing now! (make sure you've got a fork and a local copy of Charlene's repository)
Add a
.gitignore
file to the repository to avoid adding artefacts created by python or your text editor. You can use gitignore.io to generate a file for your needs.Modify the repository directory structure to make sagittal_average as an installable package. There is no need to add the
.md
files (yet!).Add a
pyproject.toml
file with the information needed.Make sure you are in a python environment (e.g.,
comp0233
's conda environment) and try to install it by runningpip install -e .
from the command line, in the filesystem location where thepyproject.toml
is.Share your solution as a pull request to Charlene's repository mentioning this issue (by including the text
Addresses UCL-COMP0233-24-25/RSE-Classwork#31
in the pull request description), remember to mention your team members too! (with@github_username
)🎉 Congratulations, you've created a Python package! Now, let's see what can be improved about it in the subsequent issues!
Sample solution