1 Star 0 Fork 0

Velcon-Zheng/pbalign

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
David Seifert 提交于 2018-08-17 20:58 . Modernize setup.py
SHELL = /bin/bash -e
all: build install
build:
python setup.py build --executable="/usr/bin/env python"
bdist:
python setup.py build --executable="/usr/bin/env python"
python setup.py bdist --formats=egg
install:
python setup.py install
develop:
python setup.py develop
pylint:
pylint --errors-only pbalign
test: pylint
# Unit tests
#find tests/unit -name "*.py" | xargs nosetests
python setup.py test
# End-to-end tests
@echo pbalign cram tests require blasr installed.
find tests/cram -name "*.t" | xargs cram
h5test:
# Tests for pre-3.0 smrtanalysis when default file formats are *.h5
@echo pbalign h5 tests require blasr, samtoh5, loadPulses, samFilter and etc installed.
nosetests --verbose tests/unit_h5/*.py
find tests/cram_h5 -name "*.t" | xargs cram -v
doc:
sphinx-apidoc -T -f -o doc pbalign/ && cd doc && make html
docs: doc
doc-clean:
rm -f doc/*.html
clean: doc-clean
rm -rf dist/ build/ *.egg-info
rm -rf doc/_build
find . -name "*.pyc" | xargs rm -f
rm -rf dist/
rm -f nostests.xml
pip-install:
@which pip > /dev/null
@pip freeze|grep 'pbalign=='>/dev/null \
&& ( pip uninstall -y pbalign \
|| pip uninstall -y pbtools.pbalign ) \
|| true
@pip install --no-index \
--install-option="--install-scripts=$(PREFIX)/bin" \
./
.PHONY: all build bdist install develop test doc clean
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Velcon-Zheng/pbalign.git
git@gitee.com:Velcon-Zheng/pbalign.git
Velcon-Zheng
pbalign
pbalign
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385