Skip to content

Repository files navigation

Table of Contents

  1. Check Test
  2. Pypi
    1. You can install from Internet in a python virtual environment to check:
    2. To install from local:
    3. To install create tar.gz in dist directory:
    4. To upload to pypi:

Learning Numpy from Tests by David Arroyo Menéndez

Check Test

  • Execute all tests:

    $ pytest tests

  • Execute one file:

    $ pytest tests/test_basics.py

  • Execute one test:

    $ pytest tests/test_basics.py::TestBasics::test_arange

Pypi

You can install from Internet in a python virtual environment to check:

$ mkdir /tmp/funny $ python3.14 -m venv /tmp/funny
$ cd /tmp/funny
$ source bin/activate
$ python3.14 -m pip install --upgrade pip $ python3.14 -m pip install damenumpy 

To install from local:

$ pip install -e .

To install create tar.gz in dist directory:

$ python3 -m build

To upload to pypi:

$ twine upload dist/damenumpy-0.1.tar.gz

About

Learning numpy by tests by David Arroyo Menéndez

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages