diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2017-11-30 12:06:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-30 12:06:21 -0700 |
| commit | a3bb8f83de6f0fe3d0dfa14b9bfe1889f9b45652 (patch) | |
| tree | 19255bef6948302657649cd9fca188cf42435984 /setup.py | |
| parent | 10d731b0b30225d137be029bc57e87547a0fdb84 (diff) | |
| parent | 2585cf76013d6cfa61e99e859ca3c05de379a97e (diff) | |
| download | numpy-maintenance/1.13.x.tar.gz | |
Merge pull request #10137 from charris/add-license-to-installmaintenance/1.13.x
BLD: Add license file to NumPy wheels.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -81,7 +81,7 @@ def git_version(): env['LANGUAGE'] = 'C' env['LANG'] = 'C' env['LC_ALL'] = 'C' - out = subprocess.Popen(cmd, stdout = subprocess.PIPE, env=env).communicate()[0] + out = subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env).communicate()[0] return out try: @@ -147,8 +147,8 @@ if not release: a = open(filename, 'w') try: a.write(cnt % {'version': VERSION, - 'full_version' : FULLVERSION, - 'git_revision' : GIT_REVISION, + 'full_version': FULLVERSION, + 'git_revision': GIT_REVISION, 'isrelease': str(ISRELEASED)}) finally: a.close() @@ -164,6 +164,7 @@ def configuration(parent_package='',top_path=None): quiet=True) config.add_subpackage('numpy') + config.add_data_files(('numpy', 'LICENSE.txt')) config.get_version('numpy/version.py') # sets config.version |
