Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 64a2160

Browse files
committed
one more attempt
1 parent 4c2cd13 commit 64a2160

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

‎noxfile.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ def check_javascript(session: Session) -> None:
3939
@group.session
4040
def publish(session: Session) -> None:
4141
session.install("twine", "build", "wheel")
42-
session.run("python", "-m", "build", "--wheel", "--outdir", "dist/")
42+
session.run("python", "-m", "build", "--wheel", "--sdist", "--outdir", "dist/")
4343
session.run("twine", "upload", "dist/*")

‎reactpy_jupyter/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from .monkey_patch import execute_patch
1111
from .widget_component import from_widget
1212

13-
__version__ = "0.9.2" # DO NOT MODIFY
13+
__version__ = "0.9.3" # DO NOT MODIFY
1414

1515
__all__ = (
1616
"from_widget",

‎setup.py‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,9 @@ def build_javascript_first(cmd: Command):
162162

163163

164164
def build_with_pth_file(cmd: Command):
165-
build_lib = getattr(cmd, "build_lib", None) or getattr(cmd, "dist_dir", None)
166-
if build_lib is None:
167-
raise ValueError("Cannot find build_lib or dist_dir")
168-
169165
pth_filename = f"{NAME}.pth"
170166
source_pth_file = ROOT_DIR / pth_filename
171-
target_pth_file = Path(build_lib, pth_filename)
172-
cmd.copy_file(str(source_pth_file), str(target_pth_file))
167+
cmd.copy_file(str(source_pth_file), pth_filename)
173168

174169

175170
def add_to_cmd(cls: Command, functions: list[Callable[[Command], None]]) -> Command:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /