comparison setup.py @ 3580:8dd5e1bac9c3

merge changes from main branch
author Goffi <goffi@goffi.org>
date Fri, 18 Jun 2021 18:19:23 +0200
parents 813595f88612 87745bb92221
children 71516731d0aa
comparison
equal deleted inserted replaced
3573:813595f88612 3580:8dd5e1bac9c3
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from setuptools import setup, find_packages 20 from setuptools import setup, find_packages
21 import os 21 import os
22 22
23 NAME = 'sat' 23 NAME = "libervia-backend"
24 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
25 DIR_NAME = "sat"
24 26
25 install_requires = [ 27 install_requires = [
26 'babel', 28 'babel < 3',
27 'dbus-python', 29 'dbus-python < 1.3',
28 'html2text', 30 'html2text < 2020.2',
29 'jinja2>=2.10.3', 31 'jinja2>=2.10.3',
30 'langid', 32 'langid < 2',
31 'lxml >= 3.1.0', 33 'lxml >= 3.1.0',
32 'markdown >= 3.0', 34 'markdown >= 3.0',
33 'miniupnpc', 35 'miniupnpc < 2.1',
34 'mutagen', 36 'mutagen < 2',
35 'netifaces', 37 'netifaces < 0.12',
36 'pillow >= 6.0.0', 38 'pillow >= 6.0.0',
37 'progressbar2', 39 'progressbar2 < 3.54',
38 'cryptography', 40 'cryptography < 3.5',
39 'pygments', 41 'pygments < 3',
40 'pygobject', 42 'pygobject < 3.40.1',
41 'pyopenssl', 43 'pyopenssl < 21.0.0',
42 'python-dateutil', 44 'python-dateutil < 3',
43 'python-potr', 45 'python-potr < 1.1',
44 'pyxdg', 46 'pyxdg < 0.30',
45 'sat_tmp >= 0.7.0a4', 47 'sat_tmp >= 0.8.0b1, < 0.9',
46 'shortuuid', 48 'shortuuid < 1.1',
47 'twisted[tls] >= 20.3.0', 49 'twisted[tls] >= 20.3.0, < 21.3.0',
48 'treq', 50 'treq < 22.0.0',
49 'urwid >= 1.2.0', 51 'urwid >= 1.2.0, < 3',
50 'urwid-satext >= 0.7.0a2', 52 'urwid-satext >= 0.8.0b1, < 0.9',
51 'wokkel >= 0.7.1', 53 'wokkel >= 18.0.0, < 19.0.0',
52 'omemo >= 0.11.0', 54 'omemo >= 0.11.0, < 0.13.0',
53 'omemo-backend-signal', 55 'omemo-backend-signal < 0.3',
54 'pyyaml', 56 'pyyaml < 5.5.0',
55 'sqlalchemy >= 1.4', 57 'sqlalchemy >= 1.4',
56 'aiosqlite', 58 'aiosqlite',
57 'txdbus' 59 'txdbus'
58 ] 60 ]
59 61
61 "SVG": ["CairoSVG"], 63 "SVG": ["CairoSVG"],
62 } 64 }
63 65
64 DBUS_DIR = 'dbus-1/services' 66 DBUS_DIR = 'dbus-1/services'
65 DBUS_FILE = 'misc/org.libervia.Libervia.service' 67 DBUS_FILE = 'misc/org.libervia.Libervia.service'
66 with open(os.path.join(NAME, 'VERSION')) as f: 68 with open(os.path.join(DIR_NAME, 'VERSION')) as f:
67 VERSION = f.read().strip() 69 VERSION = f.read().strip()
68 is_dev_version = VERSION.endswith('D') 70 is_dev_version = VERSION.endswith('D')
69 if is_dev_version: 71 if is_dev_version:
70 install_requires.append("setuptools_scm") 72 install_requires.append("setuptools_scm")
71 73