FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pymanager/scripts/test-firstrun.py at main · python/pymanager · GitHub
python
pymanager
Repository navigation
Code
Issues
23
(23)
Pull requests
6
(6)
Actions
Security and quality
1
(1)
Insights
Expand file tree
Breadcrumbs
pymanager
/
scripts
/
test-firstrun.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (17 loc) · 566 Bytes
Breadcrumbs
pymanager
/
scripts
/
test-firstrun.py
Copy path
File metadata and controls
25 lines (17 loc) · 566 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""Simple script to allow running manage/firstrun.py without rebuilding.
You'll need to build the test module (_msbuild_test.py).
"""
import
os
import
pathlib
import
sys
ROOT
=
pathlib
.
Path
(
__file__
).
absolute
().
parent
.
parent
/
"src"
sys
.
path
.
append
(
str
(
ROOT
))
import
_native
if
not
hasattr
(
_native
,
"coinitialize"
):
import
_native_test
for
k
in
dir
(
_native_test
):
if
k
[:
1
]
not
in
(
""
,
"_"
):
setattr
(
_native
,
k
,
getattr
(
_native_test
,
k
))
import
manage
.
commands
cmd
=
manage
.
commands
.
FirstRun
([],
ROOT
)
sys
.
exit
(
cmd
.
execute
()
or
0
)
Back
|
FazBrowse Home
|
New Git URL