Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Nov 3, 2021
1 parent 3392dec commit 3a49846
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions _doc/examples/automation/fetch_student_projects_from_gmail.py
Expand Up @@ -42,10 +42,10 @@

server = "imap.gmail.com"
school = "ENSAE"
date = "24-May-2021"
date = "01-Nov-2021"
year = '1A'
exam = 'projet'
pattern = "Python_{0}_{1}_2021".format(year, exam)
exam = 'tdnote'
pattern = "Python_{0}_{1}".format(year, exam)
group_def = "groupes.xlsx"
col_subject, col_group, col_mail, col_student = "sujet", "groupe", "mail", "Nom"
final_dest = ["2021-2022", "{}-{}".format(year, exam)]
Expand Down Expand Up @@ -182,11 +182,12 @@
groups = proj.Groups
if do_mail or len(groups) < 10:
fLOG("[fetch_student_projects_from_gmail] create list of groups")
proj = ProjectsRepository.create_folders_from_dataframe(df, folder, col_subject=col_subject,
col_group=col_group, col_mail=col_mail,
email_function=emails, skip_if_nomail=False,
must_have_email=True, fLOG=fLOG,
col_student=col_student)
proj = ProjectsRepository.create_folders_from_dataframe(
df, folder, col_subject=col_subject,
col_group=col_group, col_mail=col_mail,
email_function=emails, skip_if_nomail=False,
must_have_email=True, fLOG=fLOG,
col_student=col_student)
elif len(groups) < 10:
fLOG("[fetch_student_projects_from_gmail] skip fetching mails: {0} groups already".format(
len(groups)))
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Expand Up @@ -14,7 +14,8 @@ install:
# for many packages
- "%PYTHON%\\Scripts\\pip install -r requirements-win.txt"
# install precompiled versions not available on pypi
- "%PYTHON%\\Scripts\\pymy_install3 cartopy shapely pyproj fiona gdal"
- "%PYTHON%\\Scripts\\pymy_install3 shapely pyproj"
- "%PYTHON%\\Scripts\\pymy_install3 cartopy fiona gdal"
# other dependencies
- "%PYTHON%\\Scripts\\pip install -r requirements.txt --no-deps"
- set PYTHONPATH=src
Expand Down

0 comments on commit 3a49846

Please sign in to comment.