Skip to content

Commit 73a00f7

Browse files
authored
Merge pull request #82 from chaimleib/release/3.0.2
Release/3.0.2
2 parents 72e0a82 + 9cf0018 commit 73a00f7

File tree

6 files changed

+22
-2
lines changed

6 files changed

+22
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log
22

3+
## Version 3.0.2
4+
- Fixed:
5+
- On some systems, setup.py opened README.md with a non-unicode encoding. My fault for leaving the encoding flapping in the breeze. It's been fixed.
6+
37
## Version 3.0.1
48
- Added:
59
- Travis testing for 3.7 and 3.8-dev. These needed OpenSSL, sudo and Xenial. 3.8-dev is allowed to fail.

intervaltree/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
14
"""
25
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
36
Queries may be by point, by range overlap, or by range envelopment.

intervaltree/interval.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
14
"""
25
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
36
Queries may be by point, by range overlap, or by range envelopment.

intervaltree/intervaltree.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
14
"""
25
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
36
Queries may be by point, by range overlap, or by range envelopment.

intervaltree/node.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
14
"""
25
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
36
Queries may be by point, by range overlap, or by range envelopment.

setup.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
14
"""
25
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
36
Queries may be by point, by range overlap, or by range envelopment.
@@ -22,14 +25,15 @@
2225
limitations under the License.
2326
"""
2427
from __future__ import absolute_import
28+
import io
2529
import os
2630
from sys import exit
2731
from setuptools import setup
2832
from setuptools.command.test import test as TestCommand
2933
import subprocess
3034

3135
## CONFIG
32-
target_version = '3.0.1'
36+
target_version = '3.0.2'
3337

3438

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

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

6266
## PyTest

0 commit comments

Comments
 (0)