diff --git a/setup.py b/setup.py index fb8f44db..e0f87972 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,13 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +import codecs import os import sys -import codecs +from os.path import dirname from setuptools import setup -try: - # Python 3 - from os import dirname -except ImportError: - # Python 2 - from os.path import dirname - here = os.path.abspath(dirname(__file__)) with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: