~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: mattgiuca
  • Date: 2008-02-15 06:44:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:477
setup.py: Fixed creation of "scripts" directory in listmake.
    (Since they don't end in ".py" you have to explicitly specify them)
    Added usrmgt-server to list of explicitly specified scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
    # We build two separate lists, by walking www and console
477
477
    list_www = build_list_py_files('www')
478
478
    list_lib = build_list_py_files('lib')
479
 
    list_scripts = build_list_py_files('scripts')
480
479
    list_subjects = build_list_py_files('subjects', no_top_level=True)
481
480
    list_problems = build_list_py_files('problems', no_top_level=True)
 
481
    list_scripts = [
 
482
        "scripts/python-console",
 
483
        "scripts/fileservice",
 
484
        "scripts/usrmgt-server",
 
485
    ]
482
486
    # Make sure that the files generated by conf are in the list
483
487
    # (since listmake is typically run before conf)
484
488
    if "lib/conf/conf.py" not in list_lib:
485
489
        list_lib.append("lib/conf/conf.py")
486
 
    # Make sure that console/python-console is in the list
487
 
    if "scripts/python-console" not in list_scripts:
488
 
        list_scripts.append("scripts/python-console")
489
 
    if "scripts/fileservice" not in list_scripts:
490
 
        list_scripts.append("scripts/fileservice")
491
490
    # Write these out to a file
492
491
    cwd = os.getcwd()
493
492
    # the files that will be created/overwritten