swh:1:snp:7ce5f1105410d5ee1ad6abfdc873986c25b579e5
Tip revision: 65f250cc5fb3de453d176be5fd18a7a9c8af6a7b authored by Dirk Roorda on 17 December 2018, 14:56:03 UTC
included templates in package:
included templates in package:
Tip revision: 65f250c
parameters.py
import sys
from zipfile import ZIP_DEFLATED
VERSION = '7.3.2'
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 = '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