mirror of https://github.com/KLayout/klayout.git
Print sysconfig location
This commit is contained in:
parent
24f9f44227
commit
9aa796422e
|
|
@ -61,6 +61,7 @@ before_install:
|
|||
- gem install dropbox-deployment
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew bundle; alias python='python3'; fi
|
||||
- eval "${MATRIX_EVAL}"
|
||||
- python -c "import distutils.sysconfig as sysconfig; print(sysconfig.__file__)"
|
||||
|
||||
install:
|
||||
- python setup.py build
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -58,7 +58,7 @@ from setuptools import setup, Extension, Distribution
|
|||
import glob
|
||||
import os
|
||||
import platform
|
||||
import sysconfig
|
||||
import distutils.sysconfig as sysconfig
|
||||
|
||||
# ----------------------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -85,6 +85,7 @@ class Config(object):
|
|||
Returns the library name for a given module
|
||||
The library name is usually decorated (i.e. "tl" -> "tl.cpython-35m-x86_64-linux-gnu.so").
|
||||
"""
|
||||
print
|
||||
return mod + self.ext_suffix
|
||||
|
||||
def path_of(self, mod):
|
||||
|
|
|
|||
Loading…
Reference in New Issue