diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db4ac51 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ + +default: + @echo "\"make upload\"?" + +upload: setup.py + python setup.py sdist upload --sign diff --git a/README.md b/README.md index 695cce1..5235a01 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b69fb6a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +matplotlib>=1.2 +numpy>=1.7 +scipy>=0.12 +shapely>=1.2 diff --git a/setup.py b/setup.py index 8cef9e2..84a4ff4 100644 --- a/setup.py +++ b/setup.py @@ -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='gaul@web-yard.de', 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',