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

Commit

Permalink
Merge 5c32c68 into 18aa8f3
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Jan 27, 2014
2 parents 18aa8f3 + 5c32c68 commit 2f591cf
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 5 deletions.
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

0 comments on commit 2f591cf

Please sign in to comment.