diff --git a/setup.py b/setup.py index 88f7e5d..24e75ca 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env # -*- coding: utf-8 -*- import os import sys @@ -16,12 +16,8 @@ here = os.path.abspath(os.path.dirname(__file__)) -if IS_PY2: - with io.open(os.path.join(here, 'README.rst')) as readme_file: - long_description = readme_file.read() -else: - with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file: - long_description = readme_file.read() +with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file: + long_description = readme_file.read() setup( name='python-masscan',