forked from pool/python-screenplain
Initial submission of the new package OBS-URL: https://build.opensuse.org/request/show/826707 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-screenplain?expand=0&rev=1
20 lines
548 B
Diff
20 lines
548 B
Diff
diff --git a/setup.py b/setup.py
|
|
index fdc9b53..5db7014 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -3,9 +3,11 @@
|
|
from setuptools import setup
|
|
|
|
# read the contents of your README file
|
|
-from os import path
|
|
-this_directory = path.abspath(path.dirname(__file__))
|
|
-with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
+import os.path
|
|
+import io
|
|
+
|
|
+this_directory = os.path.abspath(os.path.dirname(__file__))
|
|
+with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
setup(
|