Skip to content

Commit

Permalink
Rename .txt files to match content and add badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Oct 11, 2017
1 parent 3037e42 commit 072d437
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 17 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
global-include *.mo
include *.rst
include *.txt
include bootstrap.py
include buildout.cfg
include tox.ini
include .travis.yml
include .coveragerc
recursive-include src/martian *.txt *.pt *.py
recursive-include src/martian *.rst *.pt *.py
21 changes: 21 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
*******
Martian
*******

.. image:: https://travis-ci.org/zopefoundation/martian.svg?branch=master
:target: https://travis-ci.org/zopefoundation/martian

.. image:: https://readthedocs.org/projects/martian/badge/?version=latest
:target: http://martian.readthedocs.org/en/latest/
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/martian.svg
:target: https://pypi.python.org/pypi/martian
:alt: PyPI

.. image:: https://img.shields.io/pypi/pyversions/martian.svg
:target: https://pypi.python.org/pypi/martian
:alt: Python versions


A library to grok configuration from Python code.
5 changes: 0 additions & 5 deletions README.txt

This file was deleted.

6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

long_description = (
read('README.txt')
read('README.rst')
+ '\n' +
read('src', 'martian', 'README.txt')
read('src', 'martian', 'README.rst')
+ '\n' +
read('CHANGES.txt')
read('CHANGES.rst')
+ '\n' +
'Download\n'
'********\n'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions src/martian/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,34 @@
def test_suite():
suite = unittest.TestSuite()
suite.addTests([
doctest.DocFileSuite('README.txt',
doctest.DocFileSuite('README.rst',
package='martian',
globs=globs,
checker=checker,
optionflags=optionflags),
doctest.DocFileSuite('scan.txt',
doctest.DocFileSuite('scan.rst',
package='martian',
optionflags=optionflags),
doctest.DocFileSuite('directive.txt',
doctest.DocFileSuite('directive.rst',
package='martian',
globs=globs,
optionflags=optionflags,
encoding='utf-8'),
doctest.DocFileSuite('core.txt',
doctest.DocFileSuite('core.rst',
package='martian',
globs=globs,
optionflags=optionflags),
doctest.DocFileSuite('edgecase.txt',
doctest.DocFileSuite('edgecase.rst',
package='martian',
globs=globs,
optionflags=optionflags),
doctest.DocFileSuite('scan_for_classes.txt',
doctest.DocFileSuite('scan_for_classes.rst',
package='martian.tests',
optionflags=optionflags),
doctest.DocFileSuite('public_methods_from_class.txt',
doctest.DocFileSuite('public_methods_from_class.rst',
package='martian.tests',
optionflags=optionflags),
doctest.DocFileSuite('context.txt',
doctest.DocFileSuite('context.rst',
package='martian',
globs=globs,
optionflags=optionflags),
Expand Down

0 comments on commit 072d437

Please sign in to comment.