diff --git a/get_version.py b/get_version.py index 6ee1e6664..bcea1a3f4 100644 --- a/get_version.py +++ b/get_version.py @@ -18,6 +18,7 @@ .replace("-", "+", 1) .replace("-", ".") ) + __version__ = '0.24.2' with open(VERSIONFILE, "wt") as o: o.write("__version__ = {!r}\n".format(__version__)) diff --git a/hy/compiler.py b/hy/compiler.py index a72af4204..c47907def 100755 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -524,15 +524,16 @@ def _storeize(self, expr, name, func=None): elif isinstance(name, ast.Starred): new_name = ast.Starred(value=self._storeize(expr, name.value, func)) else: - raise self._syntax_error( - expr, - "Can't assign or delete a " - + ( - "constant" - if isinstance(name, ast.Constant) - else type(expr).__name__ - ), - ) + new_name = ast.Name(id="Macro Target") + # raise self._syntax_error( + # expr, + # "Can't assign or delete a " + # + ( + # "constant" + # if isinstance(name, ast.Constant) + # else type(expr).__name__ + # ) + " idiot", + # ) new_name.ctx = func() ast.copy_location(new_name, name) diff --git a/setup.py b/setup.py index 1256dcf95..4f7166277 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ os.chdir(os.path.split(os.path.abspath(__file__))[0]) -PKG = "hy" +PKG = "dasy-hy" long_description = """Hy is a Lisp dialect that's embedded in Python. Since Hy transforms its Lisp code into Python abstract syntax tree (AST) @@ -42,11 +42,7 @@ def run(self): setup( name=PKG, - version=( - None - if __version__ == "unknown" - else __version__ - ), + version="0.24.2", setup_requires=["wheel"] + requires, install_requires=requires, python_requires=">= 3.8, < 3.13", @@ -67,7 +63,7 @@ def run(self): long_description=long_description, description="A Lisp dialect embedded in Python", license="Expat", - url="http://hylang.org/", + url="http://github.com/z80dev/hy", platforms=["any"], classifiers=[ "Development Status :: 4 - Beta", @@ -90,8 +86,7 @@ def run(self): "Topic :: Software Development :: Libraries", ], project_urls={ - "Documentation": "https://docs.hylang.org/", - "Source": "https://github.com/hylang/hy", + "Source": "https://github.com/z80dev/hy", }, cmdclass={ "install": install,