From c420014e3f38f12972ae6311fe84c90583e96f84 Mon Sep 17 00:00:00 2001 From: David Duvenaud Date: Thu, 5 Mar 2015 14:18:32 -0500 Subject: [PATCH] Made FunkyYak into a package --- .gitignore | 1 + README.md | 10 ++++++++++ setup.py | 9 +++++++++ 3 files changed, 20 insertions(+) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index af1b4de9..a6b1eb28 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ scratch/ examples/data .idea/ .DS_Store +build/ diff --git a/README.md b/README.md index 7d5d102b..42117a68 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,13 @@ plt.plot(x, map(tanh, x), ``` + +## How to install: + +Simply run + +```bash +git clone https://github.com/HIPS/FunkyYak.git +cd FunkyYak/ +python setup.py install +``` diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..a69e706b --- /dev/null +++ b/setup.py @@ -0,0 +1,9 @@ +from distutils.core import setup + +setup(name='FunkyYak', + version='1.0', + description='FunkyYak: Computes derivatives of complicated numpy code.', + author='Dougal Maclaurin and David Duvenaud', + author_email = "macLaurin@physics.harvard.edu, dduvenaud@seas.harvard.edu", + packages=['funkyyak'], + long_description="Stateless reverse-mode autodiff implementation that also offers higher-order derivatives.")