1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 19:45:47 +00:00

Make setup.py builds less sensitive to imports

This commit is contained in:
Arne Sellmann 2018-11-07 10:48:57 +00:00
parent 5033bcfc91
commit 7635d93be7
4 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
VERSION=`grep "VERSION" lutris/settings.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
VERSION=`grep "__version__" lutris/__init__.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
cover:
rm tests/fixtures/pga.db -f

View File

@ -1 +1,3 @@
"""Main Lutris package"""
__version__ = "0.4.23"

View File

@ -3,9 +3,10 @@
import os
from gi.repository import GLib
from lutris.util.settings import SettingsIO
from lutris import __version__
PROJECT = "Lutris"
VERSION = "0.4.23"
VERSION = __version__
COPYRIGHT = "(c) 2010-2018 Lutris Gaming Platform"
AUTHORS = ["Mathieu Comandon <strycore@gmail.com>",
"Pascal Reinhard (Xodetaetl) <dev@xod.me"]

View File

@ -2,7 +2,7 @@
import os
import sys
from setuptools import setup
from lutris.settings import VERSION
from lutris import __version__ as VERSION
if sys.version_info < (3, 4):
sys.exit('Python 3.4 is required to run Lutris')