Skip to content

PyPI package has a lot of extra dependencies on install #54

@ARMmaster17

Description

@ARMmaster17

Describe the bug
When installing Watergrid from PyPI, some packages such as redis and elasticapm are being installed by default. These packages are not always needed and could probably be removed from the base install.

To Reproduce
Steps to reproduce the behavior:

  1. Run pip install watergrid
  2. Check list of installed packages.

Expected behavior
Running the base install command pip install watergrid should only install the packages that are required for a basic SA pipeline to work.

Watergrid specific
Watergrid version/commit: v1.0.1
Python version: 3.10
Redis version (if using HAPipeline): N/A

Additional context
Possible solution:

setup(
    name='example',
    version='0.1.0',
    packages=find_packages(include=['exampleproject', 'exampleproject.*']),
    install_requires=[
        'PyYAML',
        'pandas==0.23.3',
        'numpy>=1.14.5'
    ],
    extras_require={
        'interactive': ['matplotlib>=2.2.0', 'jupyter'],
    }
)

From https://godatadriven.com/blog/a-practical-guide-to-using-setup-py/

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions