setup.cfg
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 28 Apr 2021 23:40:51 +0200
changeset 78 0b05c2bce9e4
parent 75 9e93c218b9be
permissions -rw-r--r--
Fix expension of macros in pointers with default values.

For example :

in xsl decl widget_class(%name, *clsname="%nameWidget", match="widget[@type='%name']", mode="widget_class") alias template {
| class `text **clsname` extends Widget{
content;
| }
};

widget_class('Input');

gives now :

<xsl:template match="widget[@type='Input']" mode="widget_class">
<xsl:text>class </xsl:text>
<xsl:text>InputWidget</xsl:text>
<xsl:text> extends Widget{
</xsl:text>
<xsl:text>}
</xsl:text>
</xsl:template>

Without the fix, <xsl:text>InputWidget</xsl:text> would be <xsl:text>%nameWidget</xsl:text>
45
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     1
[sdist]
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     2
formats=gztar
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     3
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     4
[metadata]
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     5
name         = yml2
75
9e93c218b9be version stamp
Volker Birk <vb@pep-project.org>
parents: 51
diff changeset
     6
version      = 2.7.0
45
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     7
author	     = Volker Birk
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     8
author_email = vb@pep-project.org
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
     9
url	     = https://pep.foundation/dev/repos/yml2/
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    10
license	     = GPL v2
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    11
license_file = gpl-2.0.txt
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    12
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    13
[options]
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    14
packages = yml2
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    15
scripts =
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    16
    yml2c
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    17
    yml2proc
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    18
include_package_data = True
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    19
zip_safe = False
4ac3bb01f0bc Add setup.py, setup.cfg and MANIFEST.in.
Hartmut Goebel <h.goebel@crazy-compilers.com>
parents:
diff changeset
    20
install_requires = lxml