Show More
@@ -0,0 +1,1 b'' | |||
|
1 | IPython/.git_commit_info.ini export-subst |
@@ -0,0 +1,9 b'' | |||
|
1 | # This is an ini file that may contain information about the code state | |
|
2 | [commit hash] | |
|
3 | ||
|
4 | # The line below may contain a valid hash if it has been substituted during | |
|
5 | # 'git archive' | |
|
6 | archive_subst_hash=$Format:%h$ | |
|
7 | ||
|
8 | # This line may be modified by the install process | |
|
9 | install_hash= |
@@ -18,6 +18,7 b' graft IPython/scripts' | |||
|
18 | 18 | graft IPython/testing |
|
19 | 19 | graft IPython/utils |
|
20 | 20 | |
|
21 | include IPython/.git_commit_info.ini | |
|
21 | 22 | |
|
22 | 23 | graft docs |
|
23 | 24 | exclude docs/\#* |
@@ -6,12 +6,16 b' Under Posix environments it works like a typical setup.py script.' | |||
|
6 | 6 | Under Windows, the command sdist is not supported, since IPython |
|
7 | 7 | requires utilities which are not available under Windows.""" |
|
8 | 8 | |
|
9 |
#----------------------------------------------------------------------------- |
|
|
10 |
# Copyright ( |
|
|
9 | #----------------------------------------------------------------------------- | |
|
10 | # Copyright (c) 2008-2010, IPython Development Team. | |
|
11 | # Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu> | |
|
12 | # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de> | |
|
13 | # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu> | |
|
11 | 14 | # |
|
12 |
# Distributed under the terms of the BSD License. |
|
|
13 | # the file COPYING, distributed as part of this software. | |
|
14 | #------------------------------------------------------------------------------- | |
|
15 | # Distributed under the terms of the Modified BSD License. | |
|
16 | # | |
|
17 | # The full license is in the file COPYING.txt, distributed with this software. | |
|
18 | #----------------------------------------------------------------------------- | |
|
15 | 19 | |
|
16 | 20 | #----------------------------------------------------------------------------- |
|
17 | 21 | # Minimal Python version sanity check |
@@ -55,7 +59,8 b' from setupbase import (' | |||
|
55 | 59 | find_package_data, |
|
56 | 60 | find_scripts, |
|
57 | 61 | find_data_files, |
|
58 | check_for_dependencies | |
|
62 | check_for_dependencies, | |
|
63 | record_commit_info, | |
|
59 | 64 | ) |
|
60 | 65 | |
|
61 | 66 | isfile = os.path.isfile |
@@ -239,6 +244,7 b' else:' | |||
|
239 | 244 | # Do the actual setup now |
|
240 | 245 | #--------------------------------------------------------------------------- |
|
241 | 246 | |
|
247 | setup_args['cmdclass'] = {'build_py': record_commit_info('IPython')} | |
|
242 | 248 | setup_args['packages'] = packages |
|
243 | 249 | setup_args['package_data'] = package_data |
|
244 | 250 | setup_args['scripts'] = scripts |
General Comments 0
You need to be logged in to leave comments.
Login now