Commit 2686d42e authored by Michael Davidsaver's avatar Michael Davidsaver

more win32 paths

parent c06d92a1
......@@ -4,7 +4,7 @@ from setuptools import setup, Extension
setup(
name='setuptools_dso',
version="0.1a2",
version="0.1a3",
description="setuptools extension to build non-python shared libraries",
long_description="""setuptools extension for building non-python shared libraries
and packaging them for distribution. eg. for use by python extensions.
......
......@@ -25,6 +25,9 @@ def massage_dir_list(bdir, dirs):
"""
dirs = dirs or []
dirs.extend([os.path.join(bdir, D) for D in dirs if not os.path.isabs(D)])
if os.name == 'nt':
bdir = os.path.dirname(bdir) # strip /Release or /Debug
dirs.extend([os.path.join(bdir, D) for D in dirs if not os.path.isabs(D)])
return dirs
def expand_sources(cmd, sources):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment