Skip to content

Document developer environment setup #77

Open

Description

@grahamalama

This was my first time using tox, so it took me a while to get up to speed to start making changes. It would be nice to have some documentation for "here's how you get a development environment set up, make a change, and run the tests". Even better if it was in a Makefile or bash script.

Activity

  1. jwhitlock commented on Aug 2, 2023

    @jwhitlock
    Contributor

    my quick notes for macOS:

    brew install redis pyenv
    # Run `redis-server` in a different terminal or as a system service
    
    # create a virtualenv by favorite method
    pyenv install 3.7 3.8 3.9 3.10 3.11  # Install all the supported Pythons
    pyenv local 3.7 3.8 3.9 3.10 3.11  # Make them available in the current session
    python -m pip install --upgrade tox
    ulimit -n 2560 # tox opens more than the default of 256 for me...
    tox  # run all tests
    tox -l  # list test targets
    tox -e py39-dj32  # Run one test target
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions