From 5ef638694e8083d1a74043b6508140865c81921d Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Thu, 25 Feb 2021 19:38:56 +0000 Subject: [PATCH] minor requirements updates --- my/location/google.py | 1 + my/materialistic.py | 3 +++ my/rtm.py | 5 ++++- my/twitter/twint.py | 4 ++-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/my/location/google.py b/my/location/google.py index c200b06..721d1f3 100644 --- a/my/location/google.py +++ b/my/location/google.py @@ -3,6 +3,7 @@ Location data from Google Takeout """ REQUIRES = [ 'geopy', # checking that coordinates are valid + 'ijson', ] import json diff --git a/my/materialistic.py b/my/materialistic.py index 6cf383d..760d367 100644 --- a/my/materialistic.py +++ b/my/materialistic.py @@ -1,6 +1,9 @@ """ [[https://play.google.com/store/apps/details?id=io.github.hidroh.materialistic][Materialistic]] app for Hackernews """ + +REQUIRES = ['dataset'] + from datetime import datetime from typing import Any, Dict, Iterator, NamedTuple diff --git a/my/rtm.py b/my/rtm.py index d527d43..4dbe3d0 100755 --- a/my/rtm.py +++ b/my/rtm.py @@ -2,7 +2,10 @@ [[https://rememberthemilk.com][Remember The Milk]] tasks and notes """ -# pip3 install icalendar +REQUIRES = [ + 'icalendar', +] + import re from pathlib import Path from typing import Dict, List, Optional, Iterator diff --git a/my/twitter/twint.py b/my/twitter/twint.py index 77a6859..6f70ce3 100644 --- a/my/twitter/twint.py +++ b/my/twitter/twint.py @@ -1,9 +1,9 @@ """ Twitter data (tweets and favorites). Uses [[https://github.com/twintproject/twint][Twint]] data export. - -Requirements: =pip3 install --user dataset= """ +REQUIRES = ['dataset'] + from ..core.common import Paths from dataclasses import dataclass from my.config import twint as user_config