Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge upstream #2539

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions get_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.replace("-", "+", 1)
.replace("-", ".")
)
__version__ = '0.24.2'

with open(VERSIONFILE, "wt") as o:
o.write("__version__ = {!r}\n".format(__version__))
Expand Down
19 changes: 10 additions & 9 deletions hy/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 4 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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,
Expand Down
Loading