Changeset 3338 for pykota/trunk/setup.py

Show
Ignore:
Timestamp:
02/18/08 22:57:41 (17 years ago)
Author:
jerome
Message:

Added PyKota schema for Sun Directory Server to the data files to install.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/setup.py

    r3313 r3338  
    9191                               "untested/netatalk/pagecount.ps"])) 
    9292 
    93 data_files.append((os.sep.join([directory, "conf"]), ["conf/README", "conf/pykota.conf.sample", "conf/pykotadmin.conf.sample"])) 
     93data_files.append((os.sep.join([directory, "conf"]),  
     94                  ["conf/README", "conf/pykota.conf.sample",  
     95                   "conf/pykotadmin.conf.sample"])) 
    9496 
    95 data_files.append((os.sep.join([directory, "cgi-bin"]), ["cgi-bin/README", "cgi-bin/printquota.cgi", "cgi-bin/dumpykota.cgi", "cgi-bin/pykotme.cgi"])) 
     97data_files.append((os.sep.join([directory, "cgi-bin"]),  
     98                  ["cgi-bin/README",  
     99                   "cgi-bin/printquota.cgi",  
     100                   "cgi-bin/dumpykota.cgi",  
     101                   "cgi-bin/pykotme.cgi"])) 
    96102 
    97 data_files.append((os.sep.join([directory, "logos"]), glob.glob(os.sep.join(["logos", "*.jpeg"])) + glob.glob(os.sep.join(["logos", "*.png"])) + glob.glob(os.sep.join(["logos", "*.xcf"])))) 
     103data_files.append((os.sep.join([directory, "logos"]),  
     104                  glob.glob(os.sep.join(["logos", "*.jpeg"])) \ 
     105                + glob.glob(os.sep.join(["logos", "*.png"])) \ 
     106                + glob.glob(os.sep.join(["logos", "*.xcf"])))) 
    98107 
    99 data_files.append((os.sep.join([directory, "stylesheets"]), glob.glob(os.sep.join(["stylesheets", "*.css"])) + [ "stylesheets/README" ])) 
     108data_files.append((os.sep.join([directory, "stylesheets"]),  
     109                  glob.glob(os.sep.join(["stylesheets", "*.css"])) \ 
     110                + [ "stylesheets/README" ])) 
    100111 
    101112pgdirectory = os.sep.join([directory, "postgresql"]) 
    102 data_files.append((pgdirectory, ["initscripts/postgresql/README.postgresql", "initscripts/postgresql/pykota-postgresql.sql"])) 
     113data_files.append((pgdirectory, ["initscripts/postgresql/README.postgresql",  
     114                                 "initscripts/postgresql/pykota-postgresql.sql"])) 
    103115 
    104116ldapdirectory = os.sep.join([directory, "ldap"]) 
    105 data_files.append((ldapdirectory, ["initscripts/ldap/README.ldap", "initscripts/ldap/pykota.schema", "initscripts/ldap/pykota-sample.ldif"])) 
     117data_files.append((ldapdirectory, ["initscripts/ldap/README.ldap",  
     118                                   "initscripts/ldap/pykota.schema",  
     119                                   "initscripts/ldap/pykota-schema-sunds.ldif",  
     120                                   "initscripts/ldap/pykota-sample.ldif"])) 
    106121 
    107122mysqldirectory = os.sep.join([directory, "mysql"]) 
    108 data_files.append((mysqldirectory, ["initscripts/mysql/README.mysql", "initscripts/mysql/pykota-mysql.sql"])) 
     123data_files.append((mysqldirectory, ["initscripts/mysql/README.mysql",  
     124                                    "initscripts/mysql/pykota-mysql.sql"])) 
    109125 
    110126sqlitedirectory = os.sep.join([directory, "sqlite"]) 
    111 data_files.append((sqlitedirectory, ["initscripts/sqlite/README.sqlite", "initscripts/sqlite/pykota-sqlite.sql"])) 
     127data_files.append((sqlitedirectory, ["initscripts/sqlite/README.sqlite",  
     128                                     "initscripts/sqlite/pykota-sqlite.sql"])) 
    112129 
    113130class MyInstallData(install_data) :