comparison setup.py @ 2679:d51a3381cb78

install: don't do conditional requirement for omemo anymore, it should now work on all unixes
author Goffi <goffi@goffi.org>
date Sun, 23 Sep 2018 17:02:47 +0200
parents 12620b10b20a
children eb58f26ed236
comparison
equal deleted inserted replaced
2678:35a513811540 2679:d51a3381cb78
18 # You should have received a copy of the GNU Affero General Public License 18 # You should have received a copy of the GNU Affero General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. 19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21 from setuptools import setup, find_packages 21 from setuptools import setup, find_packages
22 import os 22 import os
23 import platform
24 23
25 NAME = 'sat' 24 NAME = 'sat'
26 25
27 install_requires = [ 26 install_requires = [
28 'babel', 27 'babel',
49 'shortuuid', 48 'shortuuid',
50 'twisted >= 15.2.0', 49 'twisted >= 15.2.0',
51 'urwid >= 1.2.0', 50 'urwid >= 1.2.0',
52 'urwid-satext >= 0.6.1', 51 'urwid-satext >= 0.6.1',
53 'wokkel >= 0.7.1', 52 'wokkel >= 0.7.1',
53 'omemo',
54 ] 54 ]
55
56 if platform.system() in ('Linux', 'Windows'):
57 # python-omemo is currently supported only on those platforms
58 install_requires.append('omemo')
59 55
60 DBUS_DIR = 'dbus-1/services' 56 DBUS_DIR = 'dbus-1/services'
61 DBUS_FILE = 'misc/org.salutatoi.SAT.service' 57 DBUS_FILE = 'misc/org.salutatoi.SAT.service'
62 with open(os.path.join(NAME, 'VERSION')) as f: 58 with open(os.path.join(NAME, 'VERSION')) as f:
63 VERSION = f.read().strip() 59 VERSION = f.read().strip()