Commits

Rob Lanphier  committed 989ec3c

Switching from entry_points to scripts in setup.py + other cleanup/reorg

  • Participants
  • Parent commits e7c2443

Comments (0)

Files changed (7)

 include *.txt
 include docs/*
+include examples/*
 include jsonwidget/schema/*
+include jsonedit
+include jsonaddress
+
 
 On deck:
 
-0.1.1:
-*  Get working with setuptools/easyinstall
-
-0.1.2:
+0.1.3:
 *  Package for Ubuntu
 
-0.1.3:
+0.1.4:
 *  Put "Add field" over in the data area
 *  "Space" and "enter" should toggle expand/collapse on parent nodes
 *  Implement ability to edit arbitrary JSON

File datatype-example.json

-[
-  {
-    "map_example":
-    {
-      "field1":"",
-      "field2":""
-    },
-    "seq_example":
-    [
-      ""
-    ],
-    "num_example":1.1,
-    "int_example":0,
-    "str_example":"test",
-    "bool_example":true,
-    "str_enum_example":"value3"
-  }
-]

File examples/datatype-example.json

+[
+  {
+    "map_example":
+    {
+      "field1":"",
+      "field2":""
+    },
+    "seq_example":
+    [
+      ""
+    ],
+    "num_example":1.1,
+    "int_example":0,
+    "str_example":"test",
+    "bool_example":true,
+    "str_enum_example":"value3"
+  }
+]
 # All rights reserved.
 # Licensed under BSD-style license.  See LICENSE.txt for details.
 
-# stub file roughly equivalent to what gets generated by setuptools in the
-# context of a Python egg.
-# NOTE: this file isn't installed by setuptools
-
 import jsonwidget.commands
 
 jsonwidget.commands.jsonaddress()
 # All rights reserved.
 # Licensed under BSD-style license.  See LICENSE.txt for details.
 
-# stub file roughly equivalent to what gets generated by setuptools in the
-# context of a Python egg.
-# NOTE: this file isn't installed by setuptools
-
 import jsonwidget.commands
 
 jsonwidget.commands.jsonedit()
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.1.2'
+version = '0.1.3dev'
 
 setup(name='jsonwidget',
       version=version,
       zip_safe=False,
       install_requires=["urwid",
                         "simpleparse"],
-      entry_points={'console_scripts': 
-                        ['jsonedit = jsonwidget.commands:jsonedit',
-                         'jsonaddress = jsonwidget.commands:jsonaddress'
-                        ]
-                   },
+      entry_points={},
+      scripts=['jsonedit', 'jsonaddress'],
       package_data={'schema':['schema/*.json']},
       )