Skip to content

Commit ea1c04d

Browse files
committed
fix install_requires and add dependencies to README
1 parent 97dfa40 commit ea1c04d

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
default:
3+
@echo "\"make upload\"?"
4+
5+
upload: setup.py
6+
python setup.py sdist upload --sign

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ pyplot.show()
2525
```
2626

2727
## Installation
28+
### Dependencies
29+
PseudoPy depends on numpy, scipy, matplotlib and shapely. If you are on Debian/Ubuntu, you can install these dependencies with
30+
```
31+
sudo apt-get install python-numpy python-scipy python-matplotlib python-shapely
32+
```
33+
34+
### pip
2835
```pip install pseudopy```
2936

3037
Note that you may need to add `sudo` if you want to install it system-wide.

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ def read(fname):
99

1010
setup(name='pseudopy',
1111
packages=['pseudopy'],
12-
version='1.2.2',
12+
version='1.2.4',
1313
description='Compute and visualize pseudospectra of'
1414
+ ' matrices (like eigtool)',
1515
long_description=read('README.md'),
1616
author='André Gaul',
1717
author_email='[email protected]',
1818
url='https://github.com/andrenarchy/pseudopy',
19-
requires=['matplotlib (>=1.2)', 'numpy (>=1.7)',
20-
'scipy (>=0.12)', 'shapely (>=1.2)'],
19+
install_requires=['matplotlib>=1.2', 'numpy>=1.7',
20+
'scipy>=0.12', 'shapely>=1.2'],
2121
classifiers=[
2222
'Development Status :: 4 - Beta',
2323
'Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)