setup.py 1.98 KB
Newer Older
dkuhlman's avatar
dkuhlman committed
1
2
3
4

#from distutils.core import setup
from setuptools import setup

5
6
setup(
    name="generateDS",
dkuhlman's avatar
dkuhlman committed
7
8
9
10
#
# Do not modify the following VERSION comments.
# Used by updateversion.py.
##VERSION##
11
    version="2.29.25",
dkuhlman's avatar
dkuhlman committed
12
13
##VERSION##
    author="Dave Kuhlman",
14
    author_email="dkuhlman@davekuhlman.org",
dkuhlman's avatar
dkuhlman committed
15
    maintainer="Dave Kuhlman",
16
17
    maintainer_email="dkuhlman@davekuhlman.org",
    url="http://www.davekuhlman.org/generateDS.html",
dkuhlman's avatar
dkuhlman committed
18
19
20
21
22
23
24
25
26
27
28
29
    description="Generate Python data structures and XML parser from Xschema",
    long_description="""\
generateDS.py generates Python data structures (for example, class
definitions) from an XML Schema document.  These data structures
represent the elements in an XML document described by the XML
Schema.  It also generates parsers that load an XML document into
those data structures.  In addition, a separate file containing
subclasses (stubs) is optionally generated.  The user can add
methods to the subclasses in order to process the contents of an
XML document.""",
    platforms="platform-independent",
    license="http://www.opensource.org/licenses/mit-license.php",
floriandeboissieu's avatar
floriandeboissieu committed
30
    py_modules=["generateDS",
31
        "process_includes",
32
    ],
dkuhlman's avatar
dkuhlman committed
33
    # include_package_data=True,
34
    packages=[
dkuhlman's avatar
dkuhlman committed
35
36
        "libgenerateDS",
        "libgenerateDS.gui",
37
    ],
dkuhlman's avatar
dkuhlman committed
38
39
40
41
42
43
44
    scripts=[
        "generateDS.py",
        "process_includes.py",
        "libgenerateDS/gui/generateds_gui.py",
        "django/gends_run_gen_django.py",
        "django/gends_extract_simple_types.py",
        "django/gends_generate_django.py",
45
46
    ],
    entry_points={
47
48
49
50
51
52
53
54
        "console_scripts": [
            "generateDS = generateDS:main",
            "process_includes = process_includes:main",
            "generateds_gui = generateds_gui:main",
            "gends_run_gen_django = gends_run_gen_django:main",
            "gends_extract_simple_types = gends_extract_simple_types:main",
            "gends_generate_django = gends_generate_django:main",
        ],
55
56
57
58
59
60
    },
    install_requires=[
        "six",
        "lxml",
    ],
)