File: version

package info (click to toggle)
zope2.13 2.13.22-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 38,644 kB
  • ctags: 38,805
  • sloc: python: 196,395; xml: 90,515; ansic: 24,121; sh: 916; makefile: 333; perl: 37
file content (48 lines) | stat: -rwxr-xr-x 1,143 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/local/bin/invoke /usr/bin/peak version-config

# This is a PEAK 'version' tool configuration file, that's
# also executable.  PJE uses it to bump version numbers in
# the various parts of the project without having to edit them
# by hand.  The current version is stored in the version.dat
# file.  

# These are not the droids you're looking for.  You can go on
# about your business...

<Scheme default>
    DefaultFormat full
    part major
    part minor
    part status choice alpha beta "release candidate" final
    part build
    part date   timestamp

    <Formats>
    trailer   remap status "a%(build)s" "b%(build)s" "c%(build)s" "%(dot-maint)s"
    dot-maint optional build ".%(build)s"
    full      "%(major)s.%(minor)s %(status)s %(build)s"
    short     "%(major)s.%(minor)s%(trailer)s"
    </Formats>
</Scheme>

<Module>
    Name setuptools

    <Edit>
    File setup.py
    File ez_setup.py
    Match 'VERSION = "%(short)s"'
    </Edit>

    <Edit>
    File release.sh
    Match 'VERSION="%(short)s"'
    </Edit>

    <Edit>
    File setuptools/__init__.py
    Match "__version__ = '%(short)s'"
    </Edit>

</Module>