Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools_dso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
setuptools_dso
Commits
5b30466f
Commit
5b30466f
authored
Dec 14, 2020
by
Michael Davidsaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
example add_dll_directory
needed on windows for py>=3.8
parent
8202cc3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
example/src/dsodemo/cli.py
example/src/dsodemo/cli.py
+5
-2
No files found.
example/src/dsodemo/cli.py
View file @
5b30466f
...
...
@@ -5,10 +5,13 @@ import sys, os
def
fixpath
():
path
=
os
.
environ
.
get
(
'PATH'
,
''
).
split
(
os
.
pathsep
)
moddir
=
os
.
path
.
dirname
(
__file__
)
path
.
append
(
os
.
path
.
join
(
moddir
,
'lib'
)
)
libdir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'lib'
)
path
.
append
(
libdir
)
os
.
environ
[
'PATH'
]
=
os
.
pathsep
.
join
(
path
)
if
hasattr
(
os
,
'add_dll_directory'
):
os
.
add_dll_directory
(
libdir
)
if
sys
.
platform
==
"win32"
:
fixpath
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment