distutils / setup.py
authorShikhar Bhushan <shikhar@schmizz.net>
Thu, 21 May 2009 23:56:10 +0000 (23:56 +0000)
committerShikhar Bhushan <shikhar@schmizz.net>
Thu, 21 May 2009 23:56:10 +0000 (23:56 +0000)
git-svn-id: http://ncclient.googlecode.com/svn/trunk@149 6dbcf712-26ac-11de-a2f3-1373824ab735

README [new file with mode: 0644]
docs/source/userdoc.rst
docs/source/userdoc/xml.rst [moved from docs/source/userdoc/content.rst with 97% similarity]
ncclient/__init__.py
setup.py [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..a7ceee4
--- /dev/null
+++ b/README
@@ -0,0 +1,2 @@
+To install:
+$ python setup.py install
index 6d2d899..7d29362 100644 (file)
@@ -8,6 +8,6 @@ User documentation
 
     userdoc/manager
     userdoc/capabilities
-    userdoc/content
+    userdoc/xml
     userdoc/transport
     userdoc/operations
similarity index 97%
rename from docs/source/userdoc/content.rst
rename to docs/source/userdoc/xml.rst
index 214728e..8916687 100644 (file)
@@ -2,8 +2,8 @@
 :mod:`content` module
 **********************
 
-.. automodule:: ncclient.content
-    :synopsis: Content layer
+.. automodule:: ncclient.xml_
+    :synopsis: XML facilities
 
 Namespaces
 ==========
index 61bb4ff..3d806d6 100644 (file)
@@ -14,7 +14,6 @@
 
 import sys
 
-# actually no reason why shouldn't work on 2.5 but that's... untested -- TODO
 if sys.version_info < (2, 6):
     raise RuntimeError('You need Python 2.6+ for this module.')
 
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..9e95fbf
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,27 @@
+# Copyright 2009 Shikhar Bhushan
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from distutils.core import setup
+
+setup(name='ncclient',
+      version='0.1.0',
+      description="Python library for NETCONF clients",
+      author="Shikhar Bhushan",
+      author_email="shikhar@schmizz.net",
+      url="http://code.google.com/p/ncclient/",
+      packages=["ncclient", "ncclient/transport", "ncclient/operations"],
+      license="Apache License 2.0",
+      platforms=["Posix; OS X; Windows"],
+      #classifiers=[]
+      )