Ticket #4507: patch-setup.py.diff

File patch-setup.py.diff, 858 bytes (added by yuhei@…, 19 years ago)

Patch: setup.py

  • setup.py

    old new  
    4343                    'Topic :: Software Development :: Testing',
    4444                  ]
    4545
    46     install_dir = sysconfig.get_python_lib() + os.sep + 'pychecker'
     46    install_dir = 'PYTHONLIB' + os.sep + 'pychecker'
    4747    checker_py = install_dir + os.sep + 'checker.py'
    4848    py_exe = sys.executable
    4949
     
    7878          author_email          = "pychecker@metaslash.com",
    7979          url                   = "http://pychecker.sourceforge.net/",
    8080          packages              = [ 'pychecker' ],
    81           data_files            = [ (install_dir, DOC_FILES) ],
    8281          scripts               = [ LOCAL_SCRIPT, ],
    8382          # classifiers was added in Python 2.3, but needed for PyPI
    8483          #classifiers           = CLASSIFIERS,