pyDataVizDay/notebooks/settings.py
Walker Waylon Scott 28623d9f0d fix(removed matplotlib)
Removed import rcParams,  this was leftover from a copy of my personal settings that I use for many of my projects.  This project will not need rcParams.
2017-06-26 19:35:33 -05:00

22 lines
671 B
Python

import os
import sys
try:
root_dir = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
except NameError:
root_dir = os.path.abspath(os.path.dirname(_dh[0]))
except NameError:
root_dir = os.path.abspath(os.path.dirname(os.getcwd))
reports_dir = os.path.join(root_dir, 'reports')
data_dir = os.path.join(root_dir, 'data')
raw_data_dir = os.path.join(root_dir, 'data', 'raw')
processed_data_dir = os.path.join(root_dir, 'data', 'processed')
src_dir = os.path.join(root_dir, 'src')
analysis_dir = os.path.dirname(root_dir)
static_dir = os.path.join(src_dir, 'static')
sys.path.append(analysis_dir)
sys.path.append(root_dir)
sys.path.append(src_dir)