From 39aaf770d9facbb311af77165b7d669ef72ee551 Mon Sep 17 00:00:00 2001 From: Devin D'Angelo Date: Mon, 13 Jul 2020 16:14:20 -0400 Subject: [PATCH] make pip installable --- MANIFEST.in | 1 + fastrec/__init__.py | 5 +++++ setup.py | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 MANIFEST.in create mode 100644 fastrec/__init__.py create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4bf4483 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include README.md \ No newline at end of file diff --git a/fastrec/__init__.py b/fastrec/__init__.py new file mode 100644 index 0000000..265c4fa --- /dev/null +++ b/fastrec/__init__.py @@ -0,0 +1,5 @@ +import os, sys +sys.path.append(os.path.dirname(os.path.realpath(__file__))) + +from .GraphSimRec import GraphRecommender +from .RecAPI import app \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e687d0d --- /dev/null +++ b/setup.py @@ -0,0 +1,9 @@ +from setuptools import setup + +setup(name='fastrec', + version='0.0.1', + description='Rapidly deployed gnn based recommender', + url='https://github.com/devinjdangelo/FastRec', + author='Devin DAngelo', + packages=['fastrec'], + zip_safe=False) \ No newline at end of file