#! /usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup

version = {}
with open("rsapp/version.py") as fp:
    exec(fp.read(), version)
# later on we use: version['__version__']

setup(
    name='rspub-gui',
    version=version['__version__'],
    packages=['rsapp.gui'],
    url='https://github.com/EHRI/rspub-gui',
    license='Apache License 2.0',
    author='henk van den berg',
    author_email='henk.van.den.berg at dans.knaw.nl',
    description='Application for ResourceSync publishing',
    install_requires=['rspub-core', 'pyqt5']
)

@@ -74,129 +74,33 @@
 tup%0A
-%0Aversion = %7B%7D%0Awith open(%22rsapp/version.py%22) as fp:%0A    exec(fp.read(), version)%0A# later on we use: version%5B'__version__'%5D
+from rsapp import version
 %0A%0Ase
@@ -145,18 +145,17 @@
 =version
-%5B'
+.
 __versio
@@ -157,18 +157,16 @@
 ersion__
-'%5D
 ,%0A    pa

Update i18n 2