Skip to content

Commit

Permalink
Merge pull request mattloper#15 from MPI-IS/master
Browse files Browse the repository at this point in the history
Fix broken Chumpy installation
  • Loading branch information
Matthew Loper authored Aug 29, 2017
2 parents d4d4215 + 9508add commit 58a76a8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
chumpy
======

Chumpy is a Python-based framework designed to handle the auto-differentiation problem,
which is to evalute an expression and its derivatives with respect to its inputs, with
the use of the chain rule. Chumpy is intended to make construction and local
minimization of objectives easier. Specifically, it provides:
Chumpy is a Python-based framework designed to handle the **auto-differentiation** problem,
which is to evaluate an expression and its derivatives with respect to its inputs, by use of the chain rule.

Chumpy is intended to make construction and local
minimization of objectives easier.

Specifically, it provides:

- Easy problem construction by using Numpy’s application interface
- Easy access to derivatives via auto differentiation
- Easy local optimization methods (12 of them: most of which use the derivatives)
- Easy local optimization methods (12 of them: most of which use the derivatives)

Chumpy comes with its own demos, which can be seen by typing the following::
Chumpy comes with its own demos, which can be seen by typing the following:

>> import chumpy
>> chumpy.demo() # prints out a list of possible demos
```python
import chumpy
chumpy.demo() # prints out a list of possible demos
```

Licensing is specified in the attached LICENSE.txt.

2 changes: 1 addition & 1 deletion chumpy/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = '0.67.4'
version = '0.67.5'
short_version = version
full_version = version
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
"""

from distutils.core import setup
import importlib
from pip.req import parse_requirements
from runpy import run_path

install_reqs = parse_requirements('requirements.txt', session=False)
install_requires = [str(ir.req) for ir in install_reqs]

def get_version():
namespace = run_path('chumpy/version.py')
return namespace['version']

setup(name='chumpy',
version=importlib.import_module('chumpy').__version__,
version=get_version(),
packages = ['chumpy'],
author='Matthew Loper',
author_email='matt.loper@gmail.com',
Expand Down

0 comments on commit 58a76a8

Please sign in to comment.