14
0

Accepting request 826707 from home:mcepl:work

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
This commit is contained in:
2020-08-14 16:58:11 +00:00
committed by Git OBS Bridge
commit 5b9f86ebb0
8 changed files with 180 additions and 0 deletions

19
py2.patch Normal file
View File

@@ -0,0 +1,19 @@
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(