swh:1:snp:7ce5f1105410d5ee1ad6abfdc873986c25b579e5
Tip revision: 7290a9b0f97013d45bcb3d933b8d81d4ef7f2648 authored by Dirk Roorda on 07 January 2019, 18:05:34 UTC
small fix
small fix
Tip revision: 7290a9b
parameters.py
import sys
from zipfile import ZIP_DEFLATED
VERSION = '7.3.8'
NAME = 'Text-Fabric'
ORG = 'annotation'
REPO = 'text-fabric'
URL_GH_API = 'https://api.github.com/repos'
URL_GH = 'https://github.com'
URL_NB = 'https://nbviewer.jupyter.org/github'
DOWNLOADS = '~/Downloads'
GH_BASE = '~/github'
EXPRESS_BASE = '~/text-fabric-data'
EXPRESS_INFO = '__release.txt'
URL_TFDOC = f'https://{ORG}.github.io/{REPO}'
DOI_TEXT = '10.5281/zenodo.592193'
DOI_URL = 'https://doi.org/10.5281/zenodo.592193'
APIREF = f'https://{ORG}.github.io/{REPO}/Api/Fabric/'
APP_URL = f'{URL_GH}/{ORG}'
APP_NB_URL = f'{URL_NB}/{ORG}/app'
APP_EXPRESS = f'{EXPRESS_BASE}/__apps__'
APP_GITHUB = f'{GH_BASE}/annotation'
APP_CODE = 'code'
APP_INFO = '__commit.txt'
LOCATIONS = [
'~/Downloads/text-fabric-data',
'~/text-fabric-data',
'~/github/text-fabric-data',
'~/Dropbox/text-fabric-data',
'/mnt/shared/text-fabric-data',
]
GZIP_LEVEL = 2
PICKLE_PROTOCOL = 4
ZIP_OPTIONS = dict(
compression=ZIP_DEFLATED,
)
if sys.version_info[1] >= 7:
ZIP_OPTIONS['compresslevel'] = 6