Skip to content

Commit

Permalink
Revert "get_version is not needed in data_files"
Browse files Browse the repository at this point in the history
This reverts commit 403442d.

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.
  • Loading branch information
Kodiologist committed May 20, 2019
1 parent 4ba0691 commit bd7b8bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def run(self):
'hy.core': ['*.hy', '__pycache__/*'],
'hy.extra': ['*.hy', '__pycache__/*'],
},
data_files=[
('get_version', ['get_version.py'])
],
author="Paul Tagliamonte",
author_email="[email protected]",
long_description=long_description,
Expand Down

0 comments on commit bd7b8bf

Please sign in to comment.