Skip to content

Commit 8856c4d

Browse files
committed
cleanup init
1 parent 64a0707 commit 8856c4d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

PyPartMC/__init__.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,11 @@
33
from contextlib import contextmanager
44
from pathlib import Path
55

6-
## https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
7-
#if hasattr(os, 'add_dll_directory'): # Python 3.8+ on Windows
8-
# path = os.path.dirname(__file__)
9-
# print(path)
10-
# os.add_dll_directory(path)
11-
126
# https://github.com/diegoferigo/cmake-build-extension/blob/master/src/cmake_build_extension/__init__.py
137
@contextmanager
148
def build_extension_env():
159
cookies = []
10+
# https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
1611
if hasattr(os, "add_dll_directory"):
1712
for path in os.environ.get("PATH", "").split(os.pathsep):
1813
if path and Path(path).is_absolute() and Path(path).is_dir():

0 commit comments

Comments
 (0)