Skip to content

Commit

Permalink
Merge pull request #3 from andrenarchy/requirements
Browse files Browse the repository at this point in the history
add install_requires
  • Loading branch information
andrenarchy committed Jul 27, 2016
2 parents 35d76ae + ea1c04d commit 8ad3336
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

default:
@echo "\"make upload\"?"

upload: setup.py
python setup.py sdist upload --sign
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ pyplot.show()
```

## Installation
### Dependencies
PseudoPy depends on numpy, scipy, matplotlib and shapely. If you are on Debian/Ubuntu, you can install these dependencies with
```
sudo apt-get install python-numpy python-scipy python-matplotlib python-shapely
```

### pip
```pip install pseudopy```

Note that you may need to add `sudo` if you want to install it system-wide.
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
matplotlib>=1.2
numpy>=1.7
scipy>=0.12
shapely>=1.2
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ def read(fname):

setup(name='pseudopy',
packages=['pseudopy'],
version='1.2.1',
version='1.2.4',
description='Compute and visualize pseudospectra of'
+ ' matrices (like eigtool)',
long_description=read('README.md'),
author='André Gaul',
author_email='[email protected]',
url='https://github.com/andrenarchy/pseudopy',
requires=['matplotlib (>=1.2)', 'numpy (>=1.7)',
'scipy (>=0.12)', 'shapely (>=1.2)'],
install_requires=['matplotlib>=1.2', 'numpy>=1.7',
'scipy>=0.12', 'shapely>=1.2'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
Expand Down

0 comments on commit 8ad3336

Please sign in to comment.