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

Update readme (installation section) #740

Merged
merged 7 commits into from
Sep 6, 2023
Merged

Update readme (installation section) #740

merged 7 commits into from
Sep 6, 2023

Conversation

mlubej
Copy link
Contributor

@mlubej mlubej commented Sep 5, 2023

No description provided.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
Comment on lines 83 to 94
This will install the package and all the default modules. Otherwise, if you're interested in a super light, core-only installation of `eo-learn`, then install it via:

```bash
pip install eo-learn
# pip install "eo-learn[CORE]" # this does the same thing
```

In order to avoid heavy environments, it is possible to install various scopes of package dependencies. Dependencies for each of the subfolders above (or their extra dependencies) can be installed via e.g.:

```bash
pip install "eo-learn[FEATURES]"
pip install "eo-learn[FEATURES_EXTRA]"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would perhaps structure this differently. More in a way of:
"To better control your dependencies you can install just the core dependencies of eolearn with pip install eo-learn or you can customize, which modules you want operational by providing the corresponding extras, e.g. pip install eo-learn[IO, MASK] if you are only interested in the io and mask submodules.

And then i'd also have a list of all these subpackage extras and their extra extras? I feel like this is the place to have this information, we shouldn't expect users to rummage through our pyproject.toml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated and added the list

README.md Outdated Show resolved Hide resolved
Matic Lubej and others added 3 commits September 6, 2023 10:20
README.md Outdated Show resolved Hide resolved
@zigaLuksic zigaLuksic merged commit 8b003ad into develop Sep 6, 2023
7 checks passed
@zigaLuksic zigaLuksic deleted the update-readme branch September 7, 2023 10:58
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