Revert "get_version is not needed in data_files"
This reverts commit 403442d6b1
.
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.
This commit is contained in:
parent
4ba0691c97
commit
bd7b8bf5e1
3
setup.py
3
setup.py
@ -62,6 +62,9 @@ setup(
|
|||||||
'hy.core': ['*.hy', '__pycache__/*'],
|
'hy.core': ['*.hy', '__pycache__/*'],
|
||||||
'hy.extra': ['*.hy', '__pycache__/*'],
|
'hy.extra': ['*.hy', '__pycache__/*'],
|
||||||
},
|
},
|
||||||
|
data_files=[
|
||||||
|
('get_version', ['get_version.py'])
|
||||||
|
],
|
||||||
author="Paul Tagliamonte",
|
author="Paul Tagliamonte",
|
||||||
author_email="tag@pault.ag",
|
author_email="tag@pault.ag",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
Loading…
Reference in New Issue
Block a user