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

Rename /scripts and update CONTRIBUTING.md #161

Merged
merged 11 commits into from
Nov 30, 2024
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Version 1.0.2
jcornall marked this conversation as resolved.
Show resolved Hide resolved
- Rename /scripts directory to /recipe
- Add additional channel to list of channels in eqt_env.yml
- Update CONTRIBUTING.md with detailed installation instructions

# Version 1.0.1
- Add NoBorderScrollArea, example and tests (#155)
- Edit next and prev in UIMultiStepWidget (#151)
Expand Down
26 changes: 24 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,34 @@
Contribute to the repository by opening a pull request.

## Local
Develop code locally by cloning the source code and installing it.
Develop code locally by cloning the source code, creating a development environment and installing it.

1. Install [mamba](https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html), then launch the `Miniforge Prompt`.

2. Clone the `main` branch of `eqt` locally, and navigate into where it has been cloned:

```sh
# Clone (download) source code
git clone [email protected]:TomographicImaging/eqt
git clone [email protected]:TomographicImaging/eqt.git
cd eqt
```

3. Create the mamba environment using the following command:

```sh
# Create environment
mamba env create -f recipe/eqt_env.yml
```

4. Activate the environment:

```sh
mamba activate eqt_env
```

5. Install the dependencies:

```sh
# Install test dependencies
pip install .[dev]
```
Expand Down
4 changes: 2 additions & 2 deletions scripts/eqt_env.yml → recipe/eqt_env.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This creates an environment with all of the prerequisites for eqt
name: eqt_env
channels:
- conda-forge
- https://software.repos.intel.com/python/conda
jcornall marked this conversation as resolved.
Show resolved Hide resolved
dependencies:
- python
jcornall marked this conversation as resolved.
Show resolved Hide resolved
- pip
- pyside2
- qdarkstyle
- qdarkstyle