File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencies:
66 - pip
77 - pytest
88 - typer
9- - appdirs
9+ - platformdirs
1010 - empack >=3,<4
1111 - microsoft::playwright
1212 - emsdk
Original file line number Diff line number Diff line change 1- import appdirs
1+ import platformdirs
22
33from pathlib import Path
44
55
66def get_appdir ():
7- path = Path (appdirs .user_data_dir ("pyjs_code_runner" , "ThorstenBeier " ))
7+ path = Path (platformdirs .user_data_dir ("pyjs_code_runner" ))
88 path .mkdir (parents = True , exist_ok = True )
99 return path
1010
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ classifiers = [
2222 " Programming Language :: Python :: 3.11" ,
2323]
2424dependencies = [
25- " appdirs " ,
25+ " platformdirs " ,
2626 " empack >=3.0.0" ,
2727 " playwright" ,
2828 " rich" ,
Original file line number Diff line number Diff line change 11import pytest
22import subprocess
33from pathlib import Path
4- import appdirs
4+ import platformdirs
55import shutil
66from typer .testing import CliRunner
77import os
1717
1818@pytest .fixture (scope = "session" )
1919def env_prefix ():
20- env_root = Path (appdirs .user_data_dir ("pytest_code_runner_tests" , "DerThorsten " ))
20+ env_root = Path (platformdirs .user_data_dir ("pytest_code_runner_tests" ))
2121 env_root .mkdir (exist_ok = True , parents = True )
2222 env_prefix = Path (env_root ) / "testenv"
2323
You can’t perform that action at this time.
0 commit comments