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

Split requirements #28

Open
marimeireles opened this issue Jun 19, 2023 · 0 comments
Open

Split requirements #28

marimeireles opened this issue Jun 19, 2023 · 0 comments

Comments

@marimeireles
Copy link
Collaborator

Currently the requirements file contains packages relevant to building up the docs, but not all necessary packages to installing whynot.
I propose using the setup.py file to separate the different necessary packages:

    install_requires=[

    ],
    extras_require={
        "test": [
 
        ],
        "examples": [

        ],
        "docs": [
        ],
    }

That will allow us to:

  1. delete the requirements.txt file as it will be no longer needed
  2. users will now be able to choose the different pkgs they wish to install
    pip install -e . will install whynot alone.
    pip install -e ".[test, docs]". would install both whynot and the pkgs necessary for test and docs, for example.
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

No branches or pull requests

1 participant