Fix VERSION file location

Julien LepillerFri Aug 27 14:12:49+0200 2021

c4e8be8

Fix VERSION file location

setup.py

1414
        command = ["make" "fonts"]
1515
        subprocess.check_call(command)
1616
17-
version_file = open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'offlate', 'VERSION'))
17+
version_file = open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'offlate', 'data', 'VERSION'))
1818
version = version_file.read().strip()
1919
2020
setup (

3232
    },
3333
3434
    package_data={'offlate': ['data/data.json', 'locales/*.qm', 'locales/*.ts',
35-
        'ui/data/icon.png', 'ui/data/whitespace.ttf', 'data/VERSION']},
35+
        'ui/data/icon.png', 'ui/data/whitespace.ttf', 'ui/data/whitespace-mono.ttf',
36+
        'data/VERSION']},
3637
    cmdclass={
3738
        'locales': LocalesCommand,
3839
        'fonts': FontsCommand,