Skip to content

Install subpackages for running tests #26

Discussion options

You must be logged in to vote

You can install the library as a PTH-file (similar to a sym-link or the "editable" setup in setuptools).

  1. Setup a virtual environment and activate it

  2. Install flit from PyPI with pip install flit

  3. Navigate into each subpackage and run flit install --pth-file


Keep in mind that some subpackages depend on others, to ensure that they aren't pulled from PyPI you must install the subpackages in the correct order: wumpy-gateway, wumpy-rest, wumpy-models, wumpy-cache and lastly wumpy-bot.

Refer to the test workflow inside of .github/ to see how it sets up the subpackages for the tests.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@chbndrhnns
Comment options

@Bluenix2
Comment options

@chbndrhnns
Comment options

@Bluenix2
Comment options

@chbndrhnns
Comment options

Answer selected by chbndrhnns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants