project-stats

keep track of your projects
git clone https://git.ce9e.org/project-stats.git

commit
1c19a56825dd3e99846c0a5954d0116a3ab9522f
parent
60c7d7de3cd66e55bd74a41d6b11c39b9626c376
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2017-07-23 19:26
rm rediscache

Diffstat

M project_stats.py 5 -----
M setup.py 1 -

2 files changed, 0 insertions, 6 deletions


diff --git a/project_stats.py b/project_stats.py

@@ -9,7 +9,6 @@ import subprocess
    9     9 import sys
   10    10 
   11    11 from dateutil import parser as dt
   12    -1 from rediscache import cached, async_cached
   13    12 import aiohttp
   14    13 import yaml
   15    14 
@@ -151,7 +150,6 @@ class ClaimsDict(object):
  151   150         return '\n'.join(lines)
  152   151 
  153   152 
  154    -1 @cached('xi-project-cheesecake', ttl=36000)
  155   153 def cheesecake_index(name):
  156   154     if Cheesecake is not None:
  157   155         # does not seem to be meant to be used as a library
@@ -164,7 +162,6 @@ def cheesecake_index(name):
  164   162         return None
  165   163 
  166   164 
  167    -1 @async_cached('xi-project-bower', ttl=3600)
  168   165 @asyncio.coroutine
  169   166 def get_bower_info(name):
  170   167     process = yield from asyncio.create_subprocess_exec(
@@ -190,7 +187,6 @@ def get_bower_info(name):
  190   187     return json.loads(s)
  191   188 
  192   189 
  193    -1 @async_cached('xi-project', ttl=3600)
  194   190 @asyncio.coroutine
  195   191 def get_json(url, user=None, password=None):
  196   192     assert not (user is None) ^ (password is None)
@@ -342,7 +338,6 @@ def get_bower(name):
  342   338         }
  343   339 
  344   340 
  345    -1 @async_cached('xi-project-npm', ttl=3600)
  346   341 @asyncio.coroutine
  347   342 def get_npm(name):
  348   343     process = yield from asyncio.create_subprocess_exec(

diff --git a/setup.py b/setup.py

@@ -23,7 +23,6 @@ setup(
   23    23         'aiohttp<2',
   24    24         'python-dateutil',
   25    25         'pyyaml',
   26    -1         'rediscache',
   27    26     ],
   28    27     extras_require={
   29    28         'cheesecake': ['cheesecake'],