-
Notifications
You must be signed in to change notification settings - Fork 80
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
notes on developer installation, as of aug 2023 #2707
Comments
further notes: add |
Additional issues: (and I think |
this is an obvious thought, in retrospect, but: why don't we create a (this can be put into the CI as well) |
Or |
should also add instructions for plugins - for working on a plugin, per @mr-eyes on slack -
|
notes here: https://hackmd.io/4DwRHfSvQbioykT-vrfyfA?view install sourmash for development purposes using condaCreate a conda environment with basic requirements:
Clone sourmash repoGet a copy of the sourmash repository:
Activate conda repo and installFirst activate the conda environment:
and then install sourmash:
The Run testsYou can now run all the Python tests like so:
Develop!At this point you can change code, and then run the If you change any sourmash Rust code, it is safest to run
Once you've run Additional informationRunning subsets of testsYou can run specific subsets of tests using
will run any test that has Building documentationYou can build the docs like so:
and then the built docs will be in Changing/creating new branchesAs long as you're in the directory that you installed, you can change branches and/or create new branches, and the So, for example,
will change to the |
These notes worked for me, with the addition of following this to test out a specific branch. |
I like how the PyPA packaging guide has tabs for different options when listing commands, which might solve the confusion with our current docs (linear implies "you need to run them all"). Code: https://github.com/pypa/packaging.python.org/blob/83223a00484ddda6e516028ce97710adcc683f80/source/tutorials/installing-packages.rst |
bumping this -- what else is required for #2811? our current
|
Close #2793 - Add pixi, first mentioned in #2707 (comment) - Use tabs in docs to help to point out only one option is needed - Default recommendation is conda, add `dev.yml` with dev dependencies
per https://sourmash.readthedocs.io/en/latest/developer.html,
python -m pip install tox
also: personally, I'm not a huge fan of the
make test
running tox, because it takes a lot of extra time vs just running pytest.more maybe later.
The text was updated successfully, but these errors were encountered: