Skip to content

Commit 609edfc

Browse files
committed
fix build
1 parent 5800f26 commit 609edfc

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ graft jupyter-config
33

44
include LICENSE
55
include pyproject.toml
6+
include reactpy_jupyter.pth

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", "--sdist", "--wheel", "--outdir", "dist/")
42+
session.run("python", "-m", "build", "--wheel", "--outdir", "dist/")
4343
session.run("twine", "upload", "dist/*")

setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,6 @@ def build_javascript_first(cmd: Command):
161161
log.info("Successfully installed Javascript")
162162

163163

164-
def build_with_pth_file(cmd: Command):
165-
# install the pth file
166-
pth_filename = f"{NAME}.pth"
167-
source_pth_file = ROOT_DIR / pth_filename
168-
source_pth_file = Path(cmd.build_lib, pth_filename)
169-
cmd.copy_file(str(source_pth_file), str(source_pth_file))
170-
171-
172164
def add_to_cmd(cls: Command, functions: list[Callable[[Command], None]]) -> Command:
173165
class Command(cls):
174166
def run(self):
@@ -183,7 +175,6 @@ def run(self):
183175
add_to_cmd,
184176
functions=[
185177
build_javascript_first,
186-
build_with_pth_file,
187178
],
188179
)
189180

0 commit comments

Comments
 (0)