Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

continuous integration #4

Merged
merged 3 commits into from
Jan 27, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
install:
- pip install nose coverage coveralls
script:
# check that the script works as a drop in:
- python setup.py test
# now check the source distribution
- python setup.py sdist
- pip install $(ls ./dist/*.tar.gz | sort -rV | head -n1)
# and perform all the tests:
- coverage run --source=madseq setup.py nosetests
after_success:
- coveralls
22 changes: 22 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
madseq
------
|Build Status| |Coverage| |Version| |Downloads| |License|

Description
~~~~~~~~~~~
Expand Down Expand Up @@ -59,3 +60,24 @@ Caution
- Do not add any ``at=`` position arguments in the input sequences. The
madseq script takes care of this responsibility.


.. |Build Status| image:: https://api.travis-ci.org/coldfix/madseq.png?branch=master
:target: https://travis-ci.org/coldfix/madseq
:alt: Build Status

.. |Coverage| image:: https://coveralls.io/repos/coldfix/madseq/badge.png?branch=master
:target: https://coveralls.io/r/coldfix/madseq
:alt: Coverage

.. |Version| image:: https://pypip.in/v/madseq/badge.png
:target: https://pypi.python.org/pypi/madseq/
:alt: Latest Version

.. |Downloads| image:: https://pypip.in/d/madseq/badge.png
:target: https://pypi.python.org/pypi/madseq/
:alt: Downloads

.. |License| image:: https://pypip.in/license/madseq/badge.png
:target: https://pypi.python.org/pypi/madseq/
:alt: License

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[nosetests]
with-doctest=1
15 changes: 10 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# encoding: utf-8
from setuptools import setup

# see: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing
except ImportError:
pass

# prepare long_description for PyPI:
long_description = None
try:
long_description = open('README.rst').read()
Expand All @@ -18,21 +25,19 @@
maintainer='Thomas Gläßle',
maintainer_email='t_glaessle@gmx.de',
url='https://github.com/coldfix/madseq',
license=None,
license='MIT',
py_modules=['madseq'],
entry_points={
'console_scripts': [
'madseq = madseq:main'
]
},
install_requires=[
'pydicti>=0.0.3',
'pydicti[odicti]>=0.0.3',
'docopt'
],
extras_require={
'test-runner': ['nose']
},
test_suite='nose.collector',
tests_require=['nose'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
Expand Down