-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:Edinburgh-Genome-Foundry/Geneblocks …
…into dev
- Loading branch information
Showing
5 changed files
with
63 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.9" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest pytest-cov coveralls | ||
sudo apt-get -qq update | ||
sudo apt-get install ncbi-blast+ | ||
- name: Install | ||
run: | | ||
pip install -e . | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest --cov geneblocks --cov-report term-missing | ||
- name: Coveralls | ||
run: coveralls | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COVERALLS_SERVICE_NAME: github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
import ez_setup | ||
|
||
ez_setup.use_setuptools() | ||
|
||
from setuptools import setup, find_packages | ||
|
||
exec(open('geneblocks/version.py').read()) # loads __version__ | ||
exec(open("geneblocks/version.py").read()) # loads __version__ | ||
|
||
setup( | ||
name='geneblocks', | ||
name="geneblocks", | ||
version=__version__, | ||
author='Zulko', | ||
description='Library to compare DNA sequences (diff, common blocks, etc.)', | ||
long_description=open('pypi-readme.rst').read(), | ||
license='MIT', | ||
url='https://github.com/Edinburgh-Genome-Foundry/geneblocks', | ||
author="Zulko", | ||
description="Library to compare DNA sequences (diff, common blocks, etc.)", | ||
long_description=open("pypi-readme.rst").read(), | ||
license="MIT", | ||
url="https://github.com/Edinburgh-Genome-Foundry/geneblocks", | ||
keywords="DNA sequence blocks diff synthetic-biology bioinformatics", | ||
packages=find_packages(exclude='docs'), | ||
install_requires=['numpy', 'Biopython', 'dna_features_viewer', | ||
'networkx', 'python-Levenshtein']) | ||
packages=find_packages(exclude="docs"), | ||
install_requires=[ | ||
"numpy", | ||
"Biopython", | ||
"dna_features_viewer", | ||
"networkx", | ||
"python-Levenshtein", | ||
], | ||
) |