Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater committed Aug 8, 2023
1 parent c197c0a commit d29ce1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 53 deletions.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def _build():
for extension in wheels_dir.rglob("**/*.so"):
shutil.copyfile(extension, Path(__file__).parent.joinpath(extension.name))

shutil.rmtree(wheels_dir)


def build(setup_kwargs):
"""
Expand All @@ -44,7 +46,7 @@ def build(setup_kwargs):
_build()
except Exception as e:
print(
" Unable to build C extensions, "
" Unable to build Rust extensions, "
"Pendulum will use the pure python version of the extensions."
)
print(e)
Expand Down
46 changes: 2 additions & 44 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ packages = [
{ include = "tests", format = "sdist" },
]
include = [
{ path = "meson.build", format = "sdist" },
{ path = "pendulum/py.typed" },
# Typing stubs
{ path = "*.pyi"},
Expand Down Expand Up @@ -60,13 +59,6 @@ babel = "^2.10.3"
cleo = ">=1,<3"
tox = "^3.25.1"

[tool.poetry.group.build]
optional = true

[tool.poetry.group.build.dependencies]
meson = "^0.63.2"
ninja = "^1.10.2.3"

[tool.poetry.group.benchmark.dependencies]
pytest-codspeed = "^1.2.2"

Expand Down

0 comments on commit d29ce1b

Please sign in to comment.