From da093ad8043cf21888e3f2c87b46e165ea708e10 Mon Sep 17 00:00:00 2001 From: Sarah M Brown Date: Wed, 10 Apr 2024 12:23:00 -0400 Subject: [PATCH] fix import of constant odule --- cspt/__init__.py | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cspt/__init__.py b/cspt/__init__.py index 860ed7c..43e6c11 100644 --- a/cspt/__init__.py +++ b/cspt/__init__.py @@ -5,6 +5,10 @@ from .sitetools import generate_csv_from_index from .tasktracking import calculate_badge_date, fetch_to_checklist from .grade_calculation import calculate_grade, community_apply +from .grade_constants import exp_thresh, community_cost +from .grade_constants import letter_df +from .grade_constants import bonus_criteria, weights, default_badges + from .badges import field_parser diff --git a/setup.py b/setup.py index 390286e..e3cb2ec 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ py_modules=['cspt','cspt.activities','cspt.badges','cspt.cli', 'cspt.config','cspt.lesson','cspt.notes','cspt.prep', 'cspt.sitetools','cspt.tasktracking','cspt.grade_calculation', - 'cspt.grade_contants' + 'cspt.grade_constants' ], install_requires=[ 'Click', 'pandas', 'lxml','pyyaml', 'numpy','requests','html5lib'