Add basic setup.py 98/4098/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Mar 2017 17:04:58 +0000 (12:04 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Mar 2017 17:13:39 +0000 (12:13 -0500)
Initialize lftools as a project on pypi.

Change-Id: I901ecd512a856f2693da773ae08861ca1bfbf7c8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
setup.py [new file with mode: 0644]
shell/patch-odl-release [moved from patch-odl-release.sh with 100% similarity]
shell/version [moved from version.sh with 100% similarity]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..2ee98dc
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,28 @@
+from distutils.core import setup
+
+setup(
+    name='lftools',
+    version='0.0.2',
+    author='Thanh Ha',
+    author_email='thanh.ha@linuxfoundation.org',
+    url='',
+    description='',
+    long_description=(
+        'The main purpose of Spectrometer is to deliver transparent '
+        'statistics of contributions to OpenDaylight Project. It collects '
+        'activity data such as 1. commits and number of code lines changed '
+        'from ODL Git repositories, 2. reviews from Gerrit, or 3. activities '
+        'related to each project from mailing lists and presents the '
+        'statistics in a user-friendly manner.'),
+    license='EPL',
+    classifiers=[
+        'Development Status :: 1 - Planning',
+        'Operating System :: POSIX :: Linux',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 3.5',
+    ],
+    scripts=[
+        'shell/patch-odl-release',
+        'shell/version',
+    ],
+)
similarity index 100%
rename from patch-odl-release.sh
rename to shell/patch-odl-release
similarity index 100%
rename from version.sh
rename to shell/version