From bd7b8bf5e19e7a3dd99d1a98f4c405fadbe34732 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Mon, 20 May 2019 10:19:15 -0400 Subject: [PATCH] Revert "get_version is not needed in data_files" This reverts commit 403442d6b1e12045086ffddaabc86ef32bc2d580. It turns out that without `get_version` in `data_files`, trying to install Hy from a setuptools-produced source distribution fails with an error that `get_version` can't be found. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index b3d80bc..71afe86 100755 --- a/setup.py +++ b/setup.py @@ -62,6 +62,9 @@ setup( 'hy.core': ['*.hy', '__pycache__/*'], 'hy.extra': ['*.hy', '__pycache__/*'], }, + data_files=[ + ('get_version', ['get_version.py']) + ], author="Paul Tagliamonte", author_email="tag@pault.ag", long_description=long_description,