-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to get a distinct version number for each unreleased Git commit is probably no longer worth the trouble (of pip's buggy packaging of `get_version.py` etc.) now that Hy isn't such a moving target. For each release, I'll just update `hy.__version__` and the version in `setup.py`, then revert those changes in the following commit.
- Loading branch information
1 parent
05bb450
commit 1029956
Showing
5 changed files
with
5 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/hy/version.py | ||
*.pyc | ||
.*.sw? | ||
*hy*egg* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
import os | ||
|
||
import fastentrypoints # Monkey-patches setuptools. | ||
from get_version import __version__ | ||
from setuptools import find_packages, setup | ||
from setuptools.command.install import install | ||
|
||
|
@@ -42,11 +41,7 @@ def run(self): | |
|
||
setup( | ||
name=PKG, | ||
version=( | ||
None | ||
if __version__ == "unknown" | ||
else __version__ | ||
), | ||
version='0.0.0', | ||
setup_requires=["wheel"] + requires, | ||
install_requires=requires, | ||
python_requires=">= 3.8, < 3.13", | ||
|
@@ -61,7 +56,6 @@ def run(self): | |
package_data={ | ||
"": ["*.hy"], | ||
}, | ||
data_files=[("get_version", ["get_version.py"])], | ||
author="Paul Tagliamonte", | ||
author_email="[email protected]", | ||
long_description=long_description, | ||
|