Пример #1
0
 def initialize_options(self):
     self.disable_platform_guessing = None
     self.disable_osx_tcltk_framework = None
     build_ext.initialize_options(self)
     for x in self.feature:
         setattr(self, 'disable_%s' % x, None)
         setattr(self, 'enable_%s' % x, None)
Пример #2
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.r_autoconfig = None
     self.r_home = None
     self.r_home_lib = None
     self.r_home_modules = None
     self.ignore_check_rversion = False
Пример #3
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.intmath = None
     self.with_drivers = None
     self.without_drivers = None
     self.with_driver_set = {}
     self.without_driver_set = {}
Пример #4
0
    def initialize_options(self):
        _build_ext.initialize_options(self)

        self.esql_informixdir = None
        self.esql_threadlib = None
        self.esql_static = 0
        self.esql_parts = []
Пример #5
0
    def initialize_options(self):
        build_ext.initialize_options(self)
        self.use_pg_dll = 1
        self.pgdir = None
        self.mx_include_dir = None

        self.pg_config = self.autodetect_pg_config_path()
Пример #6
0
 def initialize_options(self):
     self.disable_platform_guessing = None
     self.add_imaging_libs = ""
     build_ext.initialize_options(self)
     for x in self.feature:
         setattr(self, 'disable_%s' % x, None)
         setattr(self, 'enable_%s' % x, None)
Пример #7
0
    def initialize_options(self):
        build_ext.initialize_options(self)

        self.numpy_include_dir = get_numpy_include()
        self.gdaldir = None
        self.gdal_config = self.GDAL_CONFIG
        self.extra_cflags = []
    def initialize_options(self):
        build_ext.initialize_options(self)

        self.numpy_include_dir = get_numpy_include()
        self.gdaldir = None
        self.gdal_config = self.GDAL_CONFIG
        self.already_raised_no_config_error = False
Пример #9
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.direct_access = True
     self.large_objects = True
     self.default_vars = True
     self.escaping_funcs = pg_version[0] >= 9
     if pg_version < (9, 0):
         warnings.warn("PygreSQL does not support this PostgreSQL version.")
Пример #10
0
	def initialize_options(self):
		# Initialize father's "user_options"
		_build_ext.initialize_options(self)

		# Initializing own new "user_options"
		self.pablo_include_path = None
		self.mpi_include_path = None
		self.extensions_source = None
Пример #11
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.devel = False
     if PLATFORM == "sunos":
         # XXX This is rubbish, should check the compiler instead. --flub
         self.extra_cflags.remove("-Wno-pointer-sign")
         self.extra_cflags.remove("-Wmissing-include-dirs")
         self.extra_cflags.remove("-Wredundant-decls")
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.extra_compile_args = None
     self.extra_link_args = None
     self.with_mysql_capi = None
     self.with_mysqlxpb_cext = False
     self.with_protobuf_include_dir = None
     self.with_protobuf_lib_dir = None
     self.with_protoc = None
Пример #13
0
    def initialize_options(self):

        self.prefix = None
        build_ext.initialize_options(self)
        self.with_gc_prefix = ''
        self.with_boost_version = ''
        self.with_boost_prefix = ''
        self.with_boost_lib_suffix = ''
        self.with_llvm_prefix = ''
Пример #14
0
    def initialize_options(self):
        try:
            compiler = str(mpi4py.get_config()['mpicc'])
        except:
            compiler = "mpicc"

        self.mpicc = os.environ.get('MPICC', compiler)

        build_ext.initialize_options(self)
Пример #15
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.mpir = False
     self.msys2 = False
     self.gcov = False
     self.fast = False
     self.vector = False
     self.static = None
     self.shared = None
Пример #16
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.use_pg_dll = 1
     self.pgdir = None
     self.mx_include_dir = None
     self.use_pydatetime = 1
     self.have_ssl = have_ssl
     self.static_libpq = static_libpq
     self.pg_config = None
Пример #17
0
    def initialize_options(self):
        #  #[ initialise the additional options
        """ initialise custom defined options """
        self.preferred_fortran_compiler = None
        self.preferred_c_compiler = None
        self.fortran_compiler = None
        self.fortran_ld_library_path = None
        self.fortran_flags = None
        self.c_compiler = None
        self.c_ld_library_path = None
        self.c_flags = None

        _build_ext.initialize_options(self)
Пример #18
0
    def initialize_options(self):
        r"""set default option values"""

        _build_ext.initialize_options(self)

        self.cflags = []
        self.detection = None
        self.excludes = None
        self.ldflags = []
        self.mkresource = None
        self.skipdepends = None
        self.template = None
        self.virtualenv = None
Пример #19
0
 def initialize_options (self):
     """
     Configure the compilation before starting.-
     """
     build_ext.initialize_options (self)
     all_found = configure (['-i', '.',
                             '-i', '/usr/lib/dbus-1.0/include',
                             '-i', '/usr/include/dbus-1.0/dbus',
                             '-i', '/usr/lib/glib-2.0/include',
                             '-i', '/usr/include/glib-2.0'])
     if not all_found:
         sys.stderr.write ('*** ERROR not all files, required for compilation, have been found.\n')
         sys.stderr.write ('*** ERROR Please make sure you have installed all the requirements.\n')
         sys.stderr.write ('*** ERROR Also check that the path list in "setup.py" is correct.\n')
         sys.exit (1)
Пример #20
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.boost_include_dir = "/usr/include"
     self.boost_library_dir = "/usr/lib"
     self.libxml2_include_dir = "/usr/include/libxml2"
     self.libxml2_library_dir = "/usr/lib"
     if 'VIRTUAL_ENV' in os.environ and os.path.exists(os.environ['VIRTUAL_ENV'] + '/include/timbl'):
         self.timbl_include_dir = os.environ['VIRTUAL_ENV'] + '/include'
         self.timbl_library_dir = os.environ['VIRTUAL_ENV'] + '/lib'
     elif os.path.exists("/usr/include/timbl"):
         self.timbl_include_dir = "/usr/include"
         self.timbl_library_dir = "/usr/lib"
     elif os.path.exists("/usr/local/include/timbl"):
         self.timbl_include_dir = "/usr/local/include"
         self.timbl_library_dir = "/usr/local/lib"
     else:
         raise Exception("Timbl not found, make sure to install Timbl and set --timbl-include-dir and --timbl-library-dir appropriately...")
     self.static_boost_python = False
Пример #21
0
    def initialize_options(self):
        build_ext.initialize_options(self)
        pyversion = sys.version[0:3][0] + sys.version[0:3][2] #returns something like 32
        libsearch = ['/usr/lib', '/usr/lib/' + platform.machine() + '-' + platform.system().lower() + '-gnu', '/usr/local/lib']
        includesearch = ['/usr/include', '/usr/local/include']
        if 'VIRTUAL_ENV' in os.environ and os.path.exists(os.environ['VIRTUAL_ENV'] + '/lib'):
            libsearch.insert(0, os.environ['VIRTUAL_ENV'] + '/lib')
        if 'VIRTUAL_ENV' in os.environ and os.path.exists(os.environ['VIRTUAL_ENV'] + '/include'):
            includesearch.insert(0, os.environ['VIRTUAL_ENV'] + '/include')

        #Find boost
        self.findboost(libsearch, includesearch, pyversion)

        #Find libxml2
        if os.path.exists('/usr/local/Cellar/libxml2'):
            #Mac OS X with homebrew
            versiondirs = []
            for d in glob.glob('/usr/local/Cellar/libxml2/*'):
                if os.path.isdir(d) and d[0] != '.':
                    versiondirs.append(os.path.basename(d))
            if versiondirs:
                versiondirs.sort()
                version = versiondirs[0]
                libsearch.insert(0,'/usr/local/Cellar/libxml2/' + version + '/lib')
                includesearch.insert(0,'/usr/local/Cellar/libxml2/' + version + '/include')

        for d in includesearch:
            if os.path.exists(d  + '/libxml2'):
                self.libxml2_include_dir = d + '/libxml2'
                self.libxml2_library_dir = d.replace('include','lib')
                break

        #Find timbl
        self.timbl_library_dir = None
        for d in includesearch:
            if os.path.exists(d  + '/timbl'):
                self.timbl_include_dir = d
                self.timbl_library_dir = d.replace('include','lib')
                break

        if self.timbl_library_dir is None:
            raise Exception("Timbl not found, make sure to install Timbl and set --timbl-include-dir and --timbl-library-dir appropriately...")

        self.static_boost_python = False
Пример #22
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.libtool = None
     self.pyexecdir = None
Пример #23
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.cares_clean_compile = 0
Пример #24
0
 def initialize_options(self):
     self.disable_platform_guessing = None
     build_ext.initialize_options(self)
     for x in self.feature:
         setattr(self, 'disable_%s' % x, None)
         setattr(self, 'enable_%s' % x, None)
Пример #25
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.extra_cmake_args = ''
Пример #26
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.swig_cpp = True
Пример #27
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.long_paths_support = False
Пример #28
0
 def initialize_options(self):
     self.with_static_binutils = None  # options..
     build_ext.initialize_options(self)
Пример #29
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.enable_double = False
Пример #30
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     if DEBUG and not WIN:
         self.debug = True
Пример #31
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.cares_clean_compile = 0
Пример #32
0
 def initialize_options(self, *args, **kwargs):
     self.ssl = self.apidir = None
     build_ext_module.initialize_options(self, *args, **kwargs)
Пример #33
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.libuv_clean_compile = 0
     self.libuv_force_fetch = 0
Пример #34
0
    def initialize_options(self):
        build_ext.initialize_options(self)

        self.numpy_include_dir = get_numpy_include()
        self.gdaldir = None
        self.gdal_config = self.GDAL_CONFIG
Пример #35
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     for x in self.feature:
         setattr(self, 'disable_%s' % x, None)
         setattr(self, 'enable_%s' % x, None)
Пример #36
0
 def initialize_options(self):
     self.use_system_fitsio = False
     self.system_fitsio_includedir = None
     self.system_fitsio_libdir = None
     build_ext.initialize_options(self)
Пример #37
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.r_autoconfig = None
     self.r_home = None
     self.r_home_lib = None
     self.r_home_modules = None
Пример #38
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.vtune = None
Пример #39
0
 def initialize_options(self):
     old_build_ext.initialize_options(self)
     self.fcompiler = None
Пример #40
0
 def initialize_options(self):
     build_ext.initialize_options(self)
Пример #41
0
 def initialize_options(self):
     self.zstd = True
     return build_ext.initialize_options(self)
Пример #42
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.r_autoconfig = None
     self.r_home = None
     self.r_home_lib = None
     self.r_home_modules = None
Пример #43
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.zmq = None
     self.build_base = 'build'
Пример #44
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.mysql_config = os.environ.get('MYSQL_CONFIG', 'mysql_config')
     self.use_libmysqld = self.static = 0
     self.mysql_registry_key = r'SOFTWARE\MySQL AB\MySQL Server 5.0'
     self.mysql_root = None
Пример #45
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.portage_ext_modules = None
Пример #46
0
 def initialize_options(self):
     old_build_ext.initialize_options(self)
     self.ccache = 0
Пример #47
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.gdaldir = None
     self.mapserver_config = self.MAPSERVER_CONFIG
Пример #48
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.snappy_clean_compile = 0
     self.snappy_force_fetch = 0
     self.snappy_verbose_build = 0
Пример #49
0
 def initialize_options(self):
     old_build_ext.initialize_options(self)
     self.fcompiler = None
     self.parallel = None
Пример #50
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.pgdir = None
     self.have_ssl = have_ssl
     self.static_libpq = static_libpq
     self.pg_config = None
Пример #51
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.libuv_clean_compile = 0
     self.libuv_force_fetch = 0
Пример #52
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     for x in self.feature:
         setattr(self, 'disable_%s' % x, None)
         setattr(self, 'enable_%s' % x, None)
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.zmq = None
     self.build_base = 'build'
Пример #54
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.static = None
Пример #55
0
 def initialize_options(self):
     _build_ext.initialize_options(self)
     self.define = None
     self.symengine_dir = None
     self.generator = None
     self.build_type = "Release"
Пример #56
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.sdl_location = None
Пример #57
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.use_cython = False
Пример #58
0
 def initialize_options(self):
     old_build_ext.initialize_options(self)
     self.fcompiler = None
     self.parallel = None
     self.warn_error = None
Пример #59
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.passphrase = None
     self.build_scripts = None
Пример #60
0
 def initialize_options(self):
     build_ext.initialize_options(self)
     self.with_mysql_capi = None