Commit fcf1cf86 authored by Lucas Moura's avatar Lucas Moura

Imported Upstream version 0.6.2.2

parent 4cfa38c5
......@@ -4,7 +4,7 @@ AppRecommender - Application recommender for GNU/Linux systems
Install dependencies
---------------------
# apt-get install python python-xapian python-apt python-cluster python-simplejson python-numpy apt-xapian-index python-xdg debtags python-pip python-sklearn python-matplotlib -y
# apt-get install python python-xapian python-apt python-cluster python-simplejson python-numpy apt-xapian-index python-xdg debtags python-pip python-sklearn python-matplotlib python-fuzzywuzzy -y
sudo update-apt-xapian-index
......
......@@ -327,29 +327,6 @@ class PopconSystem(User):
User.__init__(self, submission.packages, user_id, submission.arch)
class PkgsListSystem(User):
def __init__(self, pkgs_list_or_file, user_id=0):
"""
Set initial parameters.
"""
if type(pkgs_list_or_file).__name__ == "list":
pkgs_list = pkgs_list_or_file
elif type(pkgs_list_or_file).__name__ == "str":
try:
with open(pkgs_list_or_file) as pkgs_list_file:
pkgs_list = [line.split()[0] for line in pkgs_list_file
if line.split()]
except IOError:
logging.critical("Could not open packages list file.")
raise Error
else:
logging.debug("No packages provided for user profiling.")
pkgs_list = []
User.__init__(self, dict.fromkeys(pkgs_list, 1), user_id)
class LocalSystem(User):
"""
......
......@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name='apprecommender',
description="Package recommender for GNU packages",
version='0.6.1.2',
version='0.6.2.2',
url='https://github.com/tassia/AppRecommender',
author='Tassia Camoes Araujo',
author_email='tassia@acaia.ca',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment