src/setup.py
changeset 127 c4e4936ac9c9
parent 103 fafc58f5b0de
equal deleted inserted replaced
126:0b61cd329950 127:c4e4936ac9c9
     3 from distutils.command.install_data import install_data
     3 from distutils.command.install_data import install_data
     4 from distutils.command.install import INSTALL_SCHEMES
     4 from distutils.command.install import INSTALL_SCHEMES
     5 import sys
     5 import sys
     6 
     6 
     7 MODULE = 'hashcut'
     7 MODULE = 'hashcut'
     8 README_PATH = 'README.md'
     8 README_PATH = 'README'
     9 
     9 
    10 class osx_install_data(install_data):
    10 class osx_install_data(install_data):
    11     # On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../
    11     # On MacOS, the platform-specific lib dir is /System/Library/Framework/Python/.../
    12     # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Apple-specific fix
    12     # which is wrong. Python 2.5 supplied with MacOS 10.5 has an Apple-specific fix
    13     # for this in distutils.command.install_data#306. It fixes install_lib but not
    13     # for this in distutils.command.install_data#306. It fixes install_lib but not