Changeset 973


Ignore:
Timestamp:
Jun 25, 2012 10:49:11 AM (11 years ago)
Author:
jemian
Message:

refs #8, unify the version information

Location:
specdomain/trunk/src/specdomain
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • specdomain/trunk/src/specdomain/MANIFEST.in

    r912 r973  
    33include CHANGES*
    44include AUTHORS
     5include VERSION
  • specdomain/trunk/src/specdomain/README

    r908 r973  
     1
     2This Python package is an extension for Sphinx
     3(http://sphinx.pocoo.org/), to document SPEC macro
     4source code files. SPEC (http://www.certif.com) is
     5control software for X-Ray Diffraction and Data
     6Acquisition of scientific instruments.
     7
     8This code extracts useful documentation from SPEC macro
     9source code files.
  • specdomain/trunk/src/specdomain/doc/conf.py

    r913 r973  
    5151#
    5252# The short X.Y version.
    53 version = '1.0'
     53version = open(os.path.join('..', 'VERSION')).read()
    5454# The full version, including alpha/beta/rc tags.
    55 release = '1.0'
     55release = version
    5656
    5757# The language for content autogenerated by Sphinx. Refer to documentation
  • specdomain/trunk/src/specdomain/setup.py

    r908 r973  
    88This package contains the specdomain Sphinx extension.
    99
    10 .. add description here ..
    11 '''
     10''' + open('README').read()
     11
     12version = open('VERSION').read()
    1213
    1314requires = ['Sphinx>=0.6']
     
    1516setup(
    1617    name='sphinxcontrib-specdomain',
    17     version='0.1',
    18     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
    19     download_url='http://pypi.python.org/pypi/sphinxcontrib-specdomain',
    20     license='BSD',
     18    version=version,
     19    #url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     20    #download_url='http://pypi.python.org/pypi/sphinxcontrib-specdomain',
     21    license='Argonne OPEN SOURCE LICENSE, see LICENSE file for details',
    2122    author='Pete Jemian',
    2223    author_email='jemian@anl.gov',
  • specdomain/trunk/src/specdomain/test/conf.py

    r919 r973  
    5151#
    5252# The short X.Y version.
    53 version = '1.0'
     53version = open(os.path.join('..', 'VERSION')).read()
    5454# The full version, including alpha/beta/rc tags.
    55 release = '1.0'
     55release = version
    5656
    5757# The language for content autogenerated by Sphinx. Refer to documentation
Note: See TracChangeset for help on using the changeset viewer.