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

better dependecy handling #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BengtRydberg
Copy link
Contributor

This PR improves the dependency handling.

If you install the package by pip install . only some default packages will be installed needed for the most important script of the level1c4pps package.

If you install it by pip install .[extra] you will install some additional packages needed for some specific satpy readers.

I am not totally sure which readers that should installed by default, so comments are welcome.

Note that level1c4pps utilises more readers than it looks like in the modified setup.py file as we only need to specify the readers that requires a non default satpy installation.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12707243706

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 78.283%

Totals Coverage Status
Change from base Build 12688079447: 0.0%
Covered Lines: 1647
Relevant Lines: 2056

💛 - Coveralls

"satpy[avhrr_l1b_eps,viirs_l1b,viirs_sdr,viirs_compact]!=0.38.*,!=0.39.*,!=0.40.*,!=0.41.*",
]
extras_requires = {
"extra": "satpy[avhrr_l1b_gaclac,seviri_l1b_hrit,seviri_l1b_native,seviri_l1b_nc,vii_l1b_nc]"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note that it is possible to separate this further if desired, e.g.:

extras_requires = {
     "gaclac": "satpy[avhrr_l1b_gaclac]",
     "seviri": "satpy[seviri_l1b_hrit,seviri_l1b_native,seviri_l1b_nc]",
     "metimage": "satpy[vii_l1b_nc]",
}


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