diff --git a/setup.py b/setup.py index ebed9f5..7e05887 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ Under Windows, the command sdist is not supported, since IPython requires utilities which are not available under Windows.""" #----------------------------------------------------------------------------- -# Copyright (c) 2008-2010, IPython Development Team. +# Copyright (c) 2008-2011, IPython Development Team. # Copyright (c) 2001-2007, Fernando Perez # Copyright (c) 2001, Janko Hauser # Copyright (c) 2001, Nathaniel Gray diff --git a/setupbase.py b/setupbase.py index e54df38..25cb837 100644 --- a/setupbase.py +++ b/setupbase.py @@ -206,6 +206,9 @@ def find_data_files(): # Simple file lists can be made by hand manpages = filter(isfile, glob(pjoin('docs','man','*.1.gz'))) + if not manpages: + # When running from a source tree, the manpages aren't gzipped + manpages = filter(isfile, glob(pjoin('docs','man','*.1'))) igridhelpfiles = filter(isfile, glob(pjoin('IPython','extensions','igrid_help.*')))