GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • Examples
  • File Members
  • python-pkg
  • lirc

This view

  • Original page
  • New address

GeezerVison is showing lirc.org — LIRC libraries: /home/columbus/software/lirc-doc/python-pkg/lirc/paths.py (87c0218 2017-01-25 20:55:42 +0100) Source File

Logo
LIRC libraries
LinuxInfraredRemoteControl
  • Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • Examples
  • File List
  • File Members
AllClassesFilesFunctionsVariablesTypedefsEnumerationsMacrosModulesPages
paths.py
1 ''' Set up paths to components, including in-tree development. '''
2 
3 import glob
4 import sys
5 import os.path
6 
7 
8 HERE = os.path.abspath(os.path.dirname(__file__))
9 if HERE not in sys.path:
10  sys.path.insert(0, HERE)
11 if os.path.exists(os.path.join(HERE, '_client.so')):
12  os.unlink(os.path.join(HERE, '_client.so'))
13 if os.path.exists(os.path.join(HERE, '..', 'lib', '.libs', '_client.so')):
14  # development tree Makefile.am creates lib/libs/_client.so
15  # after 'make install'; plain 'make' isn't enough.
16  os.symlink(os.path.join('..', 'lib', '.libs', '_client.so'),
17  os.path.join(HERE, '_client.so'))
18 else:
19  # 'python setup.py' artifact:
20  SRC = glob.glob(os.path.join(
21  HERE, '..build/lib.linux*/_client.cpython*.so'))
22  if len(SRC) == 1:
23  os.symlink(os.path.join(SRC[0]), os.path.join(HERE, '_client.so'))
  • python-pkg
  • lirc
  • paths.py
  • Generated by doxygen 1.8.8
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.