Skip to content

Commit 65b505b

Browse files
committed
Remove Travis CI badge from README
The badge is nice when the README is viewed on GitHub, but we don't want it on PyPI or ReadTheDocs. There was a hack in setup.py to remove it when generating the package metadata, but I feel it's not worth the trouble.
1 parent c9e6e9c commit 65b505b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
.. image:: https://api.travis-ci.org/ronnix/fabtools.png
2-
:target: http://travis-ci.org/ronnix/fabtools
3-
41
About
52
=====
63

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import re
32
import sys
43

54
try:
@@ -14,8 +13,7 @@
1413

1514
def read(filename):
1615
path = os.path.join(os.path.dirname(__file__), filename)
17-
contents = open(path).read()
18-
return re.sub(r'.*travis-ci\.org/.*', '', contents)
16+
return open(path).read()
1917

2018

2119
class Tox(TestCommand):

0 commit comments

Comments
 (0)