Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Creating a 🐍📦 #143

Open
dpshelio opened this issue Nov 26, 2020 · 0 comments
Open

Creating a 🐍📦 #143

dpshelio opened this issue Nov 26, 2020 · 0 comments
Labels

Comments

@dpshelio
Copy link
Member

dpshelio commented Nov 26, 2020

Help Charlene to create her repository into a package (remember to commit after each step).

  1. Choose who in your team is sharing now! (make sure you've got a fork and a local copy from Charlene's repository)

  2. Add a .gitignore file to the repository to not add artefacts created by python or your text editor. You can use gitignore.io to generate a file for your needs.

  3. Create a tests directory and add a test similar to what we used last week when we discovered the bug.

  4. Fix sagital_brain.py and make sure the test passes and commit these changes.

  5. Modify the repository directory structure to make sagital_average as an installable package (don't forget to add empty __init__.py files).

  6. Add a setup.py file with the information needed

  7. Try to install it by running pip install -e . where the setup.py is and run the tests with pytest.

  8. Share your solution as a pull request to Charlene's repository mentioning this issue (by including the text Addresses UCL-RITS/rse-classwork-2020#143 in the pull request description), remember to mention your team members too! (with @github_username)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants