Changeset 477 for CMIP6dreq/tags


Ignore:
Timestamp:
11/11/15 17:12:02 (5 years ago)
Author:
mjuckes
Message:

test

Location:
CMIP6dreq/tags
Files:
9 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/tags/01.beta.10/setup.py

    r469 r477  
    4545    Extract __*meta*__ from META_FILE. 
    4646    """ 
    47     import dreqPy.__init__ 
    48     if '__%s__' % meta in dreqPy.__dict__: 
    49       return dreqPy.__dict__[ '__%s__' % meta ] 
     47    import dreqPy.packageConfig as cfg 
     48    if '__%s__' % meta in cfg.__dict__: 
     49      return cfg.__dict__[ '__%s__' % meta ] 
    5050 
    5151    raise RuntimeError("Unable to find __{meta}__ string.".format(meta=meta)) 
  • CMIP6dreq/tags/01.beta.11/MANIFEST.in

    r417 r477  
    33recursive-include docs * 
    44include LICENSE 
    5  
     5include dreqPy/docs/BlockSchema.csv 
     6include dreqPy/docs/CMIP6_MIP_tables.xlsx 
     7include dreqPy/docs/dc1.xsd 
     8include dreqPy/docs/dreq2Defn.xml 
     9include dreqPy/docs/dreq2Sample.xml 
     10include dreqPy/docs/dreq2Schema.xsd 
     11include dreqPy/docs/dreqML.pdf 
     12include dreqPy/docs/dreqPy.pdf 
     13include dreqPy/docs/dreqSample.xml 
     14include dreqPy/docs/dreq.xml 
     15include dreqPy/docs/vocabDefn.xml 
     16include dreqPy/docs/vocabFrameworkSchema_01beta.xsd 
     17include dreqPy/docs/vocabSample.xml 
     18include dreqPy/docs/vocabSchema.xsd 
     19include dreqPy/docs/vocab.xml 
     20include dreqPy/docs/xlink.xsd 
     21include dreqPy/docs/xml.xsd 
  • CMIP6dreq/tags/01.beta.11/setup.py

    r466 r477  
    99NAME = "dreqPy" 
    1010PACKAGES = find_packages(exclude=["tests*"]) 
    11 META_PATH = os.path.join("dreqPy", "__init__.py") 
     11META_PATH = os.path.join("dreqPy", "packageConfig.py") 
    1212KEYWORDS = ["CMIP6"] 
    1313CLASSIFIERS = [ 
     
    4545    Extract __*meta*__ from META_FILE. 
    4646    """ 
    47     import dreqPy.__init__ 
    48     if '__%s__' % meta in dreqPy.__dict__: 
    49       return dreqPy.__dict__[ '__%s__' % meta ] 
     47    import dreqPy.packageConfig as pcfg 
     48    if '__%s__' % meta in pcfg.__dict__: 
     49      return pcfg.__dict__[ '__%s__' % meta ] 
    5050 
    5151    raise RuntimeError("Unable to find __{meta}__ string.".format(meta=meta)) 
     
    9191        classifiers=CLASSIFIERS, 
    9292        install_requires=INSTALL_REQUIRES, 
    93         data_files = [("", ["LICENSE"])] 
     93        data_files = [("", ["LICENSE"])], 
    9494        entry_points= { 
    9595        'console_scripts': ['drq = dreqPy.dreqCmdl:main_entry'], 
  • CMIP6dreq/tags/01.beta.12/README.txt

    r426 r477  
    11 
    22 
    3 python ptxt.py: to generate schema and sample from vocabDefn.txt 
    4  [Need to edit file to switch modes] 
    5 Produces vocabDefn.xml  vocabSample.xml 
     3The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. 
    64 
    7 test vocabDefn.xml 
     5The XML document is described in dreqML.pdf in the docs directory. 
    86 
    9 xmllint --schema ../../docs/vocabFrameworkSchema.xsd out/vocabDefn.xml 
    10  
    11 use xsltproc to generate schema from vocabDefn.xml 
    12  
    13 xsltproc ../../docs/xlst_xdsSchemaGen.xml out/vocabDefn.xml > out/vocab.xsd 
    14  
    15 check vocabSample.xml 
    16  
    17 xmllint --schema out/vocab.xsd out/vocabSample.xml 
     7The python API is described in dreqPy.pdf, also in the docs directory. 
Note: See TracChangeset for help on using the changeset viewer.