diff --git a/.gitignore b/.gitignore
index 8e6586b..88cedf7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ build-windows/Release/
build-windows/packages/
build-windows/.vs/
build-windows/pEpPythonAdapter.vcxproj.*
+.vscode/
launch.json
settings.json
# Default ignored files
diff --git a/build-windows/add_windows_libraries.py b/build-windows/add_windows_libraries.py
index 0a4ed73..0eac9ba 100644
--- a/build-windows/add_windows_libraries.py
+++ b/build-windows/add_windows_libraries.py
@@ -67,7 +67,7 @@ def get_pEp_install_location(debug=False):
def get_boost_directories():
"""Gets the location of the boost libraries"""
- for dir in [f.path for f in os.scandir(join(os.getcwd(), 'build-windows', 'packages')) if f.is_dir()]:
+ for dir in [f.path for f in os.scandir(join(dirname(os.getcwd()), 'packages')) if f.is_dir()]:
if 'boost.' in dir or 'boost_python' in dir or 'boost_locale' in dir:
yield join(dir, 'lib', 'native')
diff --git a/build-windows/pEpPythonAdapter.sln b/build-windows/pEpPythonAdapter.sln
deleted file mode 100644
index 91c95e7..0000000
--- a/build-windows/pEpPythonAdapter.sln
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.31005.135
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pEpPythonAdapter", "pEpPythonAdapter.vcxproj", "{F7D4314B-C7BA-4117-9AE7-AC5C1492153D}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
- Release|x64 = Release|x64
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Debug|x64.ActiveCfg = Debug|x64
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Debug|x64.Build.0 = Debug|x64
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Debug|x86.ActiveCfg = Debug|Win32
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Debug|x86.Build.0 = Debug|Win32
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Release|x64.ActiveCfg = Release|x64
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Release|x64.Build.0 = Release|x64
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Release|x86.ActiveCfg = Release|Win32
- {F7D4314B-C7BA-4117-9AE7-AC5C1492153D}.Release|x86.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {B63BC9BA-EF76-4FB4-9126-29CBFAD9092C}
- EndGlobalSection
-EndGlobal
diff --git a/build-windows/pEpPythonAdapter.vcxproj b/build-windows/pEpPythonAdapter.vcxproj
index cf75a0a..f8d6278 100644
--- a/build-windows/pEpPythonAdapter.vcxproj
+++ b/build-windows/pEpPythonAdapter.vcxproj
@@ -95,18 +95,23 @@
+
+
+ {146e69f8-e1da-456a-b048-6dd29d9acf6b}
+
+
-
-
-
+
+
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
+
+
+
\ No newline at end of file
diff --git a/make.mak b/make.mak
index e8ce049..a9a0f8a 100644
--- a/make.mak
+++ b/make.mak
@@ -1,6 +1,6 @@
# build dirs
-BUILD_DIR = $(ProjectDir)..\build
-DIST_DIR = $(ProjectDir)..\dist
+BUILD_DIR = build
+DIST_DIR = dist
# create wheel and egg package in dist
dist: dist-whl dist-egg
@@ -31,11 +31,13 @@ release: clean
CD..
PY -3.8-32 setup.py build_ext
PY -3.8-32 setup.py bdist_wheel
- PY -3.8-32 build-windows/add_windows_libraries.py
+ PY -3.8-32 build-windows\add_windows_libraries.py
+ COPY dist\pEp* ..\Release\
#debug build
debug: clean
CD..
PY -3.8-32 setup.py build_ext --debug
PY -3.8-32 setup.py bdist_wheel
- PY -3.8-32 build-windows/add_windows_libraries.py --debug
+ PY -3.8-32 build-windows\add_windows_libraries.py --debug
+ COPY dist\pEp* ..\Debug\
diff --git a/setup.py b/setup.py
index fb9889c..aa9cb50 100755
--- a/setup.py
+++ b/setup.py
@@ -60,7 +60,7 @@ class BuildExtCommand(build_ext):
return ret
def windowsGetBoostDirs(self):
- for dir in [f.path for f in os.scandir(join(os.getcwd(), 'build-windows', 'packages')) if f.is_dir()]:
+ for dir in [f.path for f in os.scandir(join(os.path.dirname(os.getcwd()), 'packages')) if f.is_dir()]:
if 'boost.' in dir or 'boost_python' in dir or 'boost_locale' in dir:
yield join(dir, 'lib', 'native'), join(dir, 'lib', 'native', 'include')