2014-10-27 16:29:04 -06:00
# -*- coding: utf-8 -*-
2018-05-25 09:46:39 -05:00
import datetime
2015-02-22 11:38:22 -06:00
name = ' TWBlue '
2018-06-18 04:37:56 -05:00
snapshot = True
2014-10-27 16:29:04 -06:00
if snapshot == False :
2017-12-06 15:56:00 -06:00
version = " 0.93 "
2017-11-10 11:51:20 -06:00
update_url = ' https://twblue.es/updates/stable.php '
2016-02-19 09:15:46 -06:00
mirror_update_url = ' https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json '
2014-10-27 16:29:04 -06:00
else :
2018-06-18 04:37:56 -05:00
version = " 6 "
2017-11-10 11:51:20 -06:00
update_url = ' https://twblue.es/updates/snapshot.php '
2016-02-19 09:15:46 -06:00
mirror_update_url = ' https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json '
2017-01-02 11:47:56 -06:00
authors = [ u " Manuel Cortéz " , u " José Manuel Delicado " ]
2015-02-22 11:38:22 -06:00
authorEmail = " manuel@manuelcortez.net "
2018-02-20 12:42:24 -06:00
copyright = u " Copyright (C) 2013-2018, Manuel cortéz. "
2015-04-19 18:33:22 -05:00
description = unicode ( name + " is an app designed to use Twitter simply and efficiently while using minimal system resources. This app provides access to most Twitter features. " )
2017-01-02 11:47:56 -06:00
translators = [ u " Manuel Cortéz (English) " , u " Mohammed Al Shara, Hatoun Felemban (Arabic) " , u " Francisco Torres (Catalan) " , u " Manuel cortéz (Spanish) " , u " Sukil Etxenike Arizaleta (Basque) " , u " Jani Kinnunen (finnish) " , u " Rémy Ruiz (French) " , u " Juan Buño (Galician) " , u " Steffen Schultz (German) " , u " Zvonimir Stanečić (Croatian) " , u " Robert Osztolykan (Hungarian) " , u " Christian Leo Mameli (Italian) " , u " Riku (Japanese) " , u " Paweł Masarczyk (Polish) " , u " Odenilton Júnior Santos (Portuguese) " , u " Florian Ionașcu, Nicușor Untilă (Romanian) " , u " Natalia Hedlund, Valeria Kuznetsova (Russian) " , u " Aleksandar Đurić (Serbian) " , u " Burak Yüksek (Turkish) " ]
2017-11-10 11:51:20 -06:00
url = u " https://twblue.es "
2017-11-12 23:39:45 -06:00
report_bugs_url = " https://github.com/manuelcortez/twblue/issues "
2018-05-25 09:46:39 -05:00
supported_languages = [ ]
def streaming_lives ( ) :
""" Check if we are in August 16.
ToDo : This method should be removed after deadline == True """
2018-06-15 08:45:10 -05:00
# Let's import config here so we will avoid breaking things when setup.py is going to be used.
# Check if user has disabled the streaming API things from settings.
import config
if config . app != None :
no_streaming = config . app [ " app-settings " ] [ " no_streaming " ]
if no_streaming == True :
return False
2018-05-25 09:46:39 -05:00
deadline = datetime . date ( 2018 , 8 , 16 )
now = datetime . datetime . now ( ) . date ( )
return deadline > now