Skip to content

Commit a33ba52

Browse files
committed
fixed #26
1 parent 9a94003 commit a33ba52

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env
22
# -*- coding: utf-8 -*-
33
import os
44
import sys
@@ -16,12 +16,8 @@
1616

1717
here = os.path.abspath(os.path.dirname(__file__))
1818

19-
if IS_PY2:
20-
with io.open(os.path.join(here, 'README.rst')) as readme_file:
21-
long_description = readme_file.read()
22-
else:
23-
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
24-
long_description = readme_file.read()
19+
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
20+
long_description = readme_file.read()
2521

2622
setup(
2723
name='python-masscan',

0 commit comments

Comments
 (0)