Changeset 422
- Timestamp:
- 13/10/15 15:38:59 (5 years ago)
- Location:
- CMIP6dreq
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
CMIP6dreq/manage/README.txt
r357 r422 7 7 bash step2.sh ## checks trunk into repository, creates tagged version 8 8 9 10 To upload to pypi test server: 11 python setup.py register -r pypitest 12 13 python setup.py sdist upload -r pypitest 14 15 Same without test for full version. 16 17 01.beta.07 is on pypi 18 19 20 Note that there is now duplication in the version specification in __init__.py, which is the clean approach, and versionConfig.py which was my hack. 21 22 -
CMIP6dreq/manage/step1.py
r359 r422 17 17 ii = string.join( open( 'versionConfig.tmpl' ).readlines() ) 18 18 tags = glob.glob( '../tags/*' ) 19 19 20 f1 = lambda x: map( int, string.split(x, '.' ) ) 20 21 def f1( vs ): 22 if vs == 'latest': 23 return (0,0) 21 24 bits = string.split(vs, '.' ) 22 25 estr = 'Version string should be "nn.nn" or "nn.[alpha|beta].nn": %s' % vs … … 56 59 assert thistn > tn[-1], 'Requested tag not greater than last tag: %s' % str(tn[-1]) 57 60 58 oo = open( '../trunk/ src/versionConfig.py', 'w' )61 oo = open( '../trunk/dreqPy/versionConfig.py', 'w' ) 59 62 for l in string.split( ii % (thistag, thiscomment), '\n' ): 60 63 oo.write( '%s\n' % string.strip(l) ) -
CMIP6dreq/tags/01.beta.05/README.txt
r412 r422 1 1 2 2 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 3 The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. 6 4 7 test vocabDefn.xml 5 The XML document is described in dreqML.pdf in the docs directory. 8 6 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 7 The python API is described in dreqPy.pdf, also in the docs directory. -
CMIP6dreq/tags/01.beta.05/setup.py
r412 r422 90 90 classifiers=CLASSIFIERS, 91 91 install_requires=INSTALL_REQUIRES, 92 data_files = [("", ["LICENSE"])]92 package_data={'dreqPy': ['LICENSE', 'docs/*.txt']} 93 93 ) -
CMIP6dreq/tags/01.beta.06/dreqPy/__init__.py
r413 r422 1 1 2 2 3 __version__ = "01.beta.0 5"3 __version__ = "01.beta.06" 4 4 __title__ = "dreqPy" 5 5 __description__ = "CMIP6 Data Request Python API" -
CMIP6dreq/tags/01.beta.06/setup.py
r415 r422 89 89 zip_safe=False, 90 90 classifiers=CLASSIFIERS, 91 install_requires=INSTALL_REQUIRES, 92 package_data={'dreqPy': ['LICENSE', 'docs/*.txt']} 91 install_requires=INSTALL_REQUIRES 93 92 ) -
CMIP6dreq/trunk/README.txt
r412 r422 1 1 2 2 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 3 The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. 6 4 7 test vocabDefn.xml 5 The XML document is described in dreqML.pdf in the docs directory. 8 6 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 7 The python API is described in dreqPy.pdf, also in the docs directory.
Note: See TracChangeset
for help on using the changeset viewer.