setup.py 2.08 KB
Newer Older
dkuhlman's avatar
dkuhlman committed
1
2
3
4
5
6
7
8
9

#from distutils.core import setup
from setuptools import setup

setup(name="generateDS",
#
# Do not modify the following VERSION comments.
# Used by updateversion.py.
##VERSION##
10
    version="2.25a",
dkuhlman's avatar
dkuhlman committed
11
12
##VERSION##
    author="Dave Kuhlman",
13
    author_email="dkuhlman@davekuhlman.org",
dkuhlman's avatar
dkuhlman committed
14
    maintainer="Dave Kuhlman",
15
16
    maintainer_email="dkuhlman@davekuhlman.org",
    url="http://www.davekuhlman.org/generateDS.html",
dkuhlman's avatar
dkuhlman committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    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",
##     py_modules=[
##         "generateDS",
##         "process_includes", 
##         "gui.generateds_gui",
##         "gui.generateds_gui_session",
##         ],
35
    py_modules=[
36
        "process_includes",
37
        ],
dkuhlman's avatar
dkuhlman committed
38
39
40
41
42
43
44
45
46
47
48
49
50
    # include_package_data=True,
    packages = [
        "libgenerateDS",
        "libgenerateDS.gui",
        ],
    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",
        ],
51
52
53
54
55
56
57
58
59
60
    entry_points = {
        "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",
        ],
      }
dkuhlman's avatar
dkuhlman committed
61
62
    )