Mercurial > cpython-lru_cache-weakref
diff setup.py @ 16225:e56dd2dd9960 legacy-trunk
Patch from Andrew to properly set module source directory.
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> |
|---|---|
| date | Wed, 24 Jan 2001 17:18:21 +0000 |
| parents | 38678cb0b3cd |
| children | ea4a2f3b266e |
line wrap: on
line diff
--- a/setup.py Wed Jan 24 17:17:20 2001 +0000 +++ b/setup.py Wed Jan 24 17:18:21 2001 +0000 @@ -65,8 +65,8 @@ # with Modules/ and adding Python's include directory to the path. (srcdir,) = sysconfig.get_config_vars('srcdir') - # - moddir = os.path.join(os.getcwd(), 'Modules', srcdir) + # Figure out the location of the source code for extension modules + moddir = os.path.join(os.getcwd(), srcdir, 'Modules') moddir = os.path.normpath(moddir) srcdir, tail = os.path.split(moddir) srcdir = os.path.normpath(srcdir)
