Skip to content

Commit

Permalink
Merge pull request #1332 from mabel-dev/0.12.0b120
Browse files Browse the repository at this point in the history
0.12.0
  • Loading branch information
joocer authored Dec 13, 2023
2 parents db84347 + ba44d8b commit c4da64d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion opteryx/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"""
from enum import Enum

from .__build__ import __build__
__build__ = "notset"
with open(f"__build__.py", mode="r") as v:
build = v.read()
exec(build) # nosec


class VersionStatus(Enum):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def rust_build(setup_kwargs: Dict[str, Any]) -> None:
__build__ = "notset"
with open(f"{LIBRARY}/__build__.py", mode="r") as v:
build = v.read()
exec(vers) # nosec
exec(build) # nosec

__author__ = "notset"
with open(f"{LIBRARY}/__author__.py", mode="r") as v:
author = v.read()
exec(vers) # nosec
exec(author) # nosec

with open("README.md", mode="r", encoding="UTF8") as rm:
long_description = rm.read()
Expand Down

0 comments on commit c4da64d

Please sign in to comment.