@ -4,6 +4,7 @@ import appdirs
app_dirs = appdirs.AppDirs('ctabus')
config_dir = app_dirs.user_config_dir
cache_path = app_dirs.user_cache_dir
try:
with open(os.path.join(config_dir, 'api.txt')) as file:
API_KEY = file.read().rstrip()
@ -1,7 +1,7 @@
import pickle
import os
import lzma
from ctabus.config import cache_path
from ctabus.internal.config import cache_path
if not os.path.exists(cache_path):
os.mkdir(cache_path)
@ -1,3 +1,4 @@
edlib
python-dateutil
terminaltables
appdirs
from setuptools import setup
with open('requirements.txt') as file:
INSTALL_REQUIRES = file.rstrip().split('\n')
INSTALL_REQUIRES = file.read().rstrip().split('\n')
setup(
name='ctabus',