Skip to content
Snippets Groups Projects
Select Git revision
  • 12bedaf95e15e79158071a2e364465c11eca5502
  • master default protected
  • 110-having-best_jmuon-returning-only-complete-tracks
  • ruff
  • offline_trk_fields
  • extend-km3buu-w2list
  • 84_read_DST
  • remove-gseagen
  • improve-docs
  • awkward2-support
  • 94-new-km3net-dataformat-release-v2-2-0-2
  • code-cleanup
  • 93-reading-summary-slices-and-extracting-the-rates-of-each-optical-module
  • summary-slice-extractor
  • add-summaryslice-docs
  • isbitset-for-ulonglong
  • 81-with-sliced-tracks-as-input-for-best-tracks-tool-does-seem-to-still-process-all-events
  • 79-suggestions-to-improve-documentation
  • 85-could-best_track-return-array-of-indices-for-whole-run
  • 82-add-aashower-fitinf-to-best-track-method
  • user-newly-defined-root-defs
  • v1.2.4
  • v1.2.3
  • v1.2.2
  • v1.2.0
  • v0.1.2
  • v1.1.0
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • v0.29.2
  • v0.29.1
  • v0.29.0
  • v0.28.0
  • v0.27.3
  • v0.27.2
  • v0.27.1
  • v0.27.0
  • v0.26.1
  • v0.26.0
  • v0.25.2
41 results

setup.py

Blame
  • Makefile 1.05 KiB
    PKGNAME=km3io
    
    default: build
    
    all: install
    
    install: 
    	pip install .
    
    install-dev:
    	pip install -e ".[dev]"
    	python -m ipykernel install --user --name=km3io
    
    clean:
    	python setup.py clean --all
    
    test: 
    	py.test --junitxml=./reports/junit.xml -o junit_suite_name=$(PKGNAME) tests
    
    test-cov:
    	py.test --cov src/km3io --cov-report term-missing --cov-report xml:reports/coverage.xml --cov-report html:reports/coverage tests
    
    test-loop: 
    	py.test tests
    	ptw --ext=.py,.pyx --ignore=doc tests
    
    flake8: 
    	py.test --flake8
    
    pep8: flake8
    
    docstyle: 
    	py.test --docstyle
    
    lint: 
    	py.test --pylint
    
    dependencies:
    	pip install -Ur requirements.txt
    
    .PHONY: black
    black:
    	black --exclude '/_definitions/|version.py' src/km3io
    	black examples
    	black tests
    	black doc/conf.py
    	black setup.py
    
    .PHONY: black-check
    black-check:
    	black --check --exclude '/_definitions/|version.py' src/km3io
    	black --check examples
    	black --check tests
    	black --check doc/conf.py
    	black --check setup.py
    
    
    .PHONY: all clean install install-dev test  test-nocov flake8 pep8 dependencies docstyle black black-check