Skip to content
Browse files

don't support pypy; don't try to support non-ascii long_description; …

…add travis badge
  • Loading branch information...
1 parent c42ae20 commit 67ab245a9aadc638b0f58d8954f8198dca5c8a75 @kmike committed Mar 23, 2013
Showing with 4 additions and 11 deletions.
  1. +0 −1 .travis.yml
  2. +3 −0 README.rst
  3. +1 −10 setup.py
View
1 .travis.yml
@@ -4,7 +4,6 @@ python:
- "3.2"
- "2.7"
- "2.6"
- - "pypy"
install:
- python setup.py install
View
3 README.rst
@@ -19,6 +19,9 @@ Source code:
Issue tracker: https://github.com/kmike/DAWG/issues
+.. image:: https://travis-ci.org/kmike/DAWG.png?branch=master
+ :target: https://travis-ci.org/kmike/DAWG
+
License
=======
View
11 setup.py
@@ -3,20 +3,11 @@
from distutils.core import setup
from distutils.extension import Extension
-
-def read_utf8_file(path):
- try:
- fp = open(path, encoding='utf8')
- except TypeError:
- fp = open(path)
- with fp:
- return fp.read()
-
setup(
name="DAWG",
version="0.6",
description="Fast and memory efficient DAWG for Python",
- long_description = read_utf8_file('README.rst') +'\n\n' + read_utf8_file('CHANGES.rst'),
+ long_description = open('README.rst').read() +'\n\n' + open('CHANGES.rst').read(),
author='Mikhail Korobov',
author_email='kmike84@gmail.com',
url='https://github.com/kmike/DAWG/',

0 comments on commit 67ab245

Please sign in to comment.
Something went wrong with that request. Please try again.