Skip to content

Commit

Permalink
open README.md as utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
chaimleib committed Dec 18, 2018
1 parent 72e0a82 commit 2b8ec3f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions intervaltree/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Expand Down
3 changes: 3 additions & 0 deletions intervaltree/interval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Expand Down
3 changes: 3 additions & 0 deletions intervaltree/intervaltree.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Expand Down
3 changes: 3 additions & 0 deletions intervaltree/node.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Expand All @@ -22,14 +25,15 @@
limitations under the License.
"""
from __future__ import absolute_import
import io
import os
from sys import exit
from setuptools import setup
from setuptools.command.test import test as TestCommand
import subprocess

## CONFIG
target_version = '3.0.1'
target_version = '3.0.2'


def version_info(target_version):
Expand All @@ -56,7 +60,7 @@ def version_info(target_version):
print("!!!>>> This is a RELEASE version <<<!!!\n")
print("Version: {version}".format(**vinfo))

with open('README.md', 'r') as fh:
with io.open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()

## PyTest
Expand Down

0 comments on commit 2b8ec3f

Please sign in to comment.