adding setup files to create an rpm for python-delta-tar
authorEduardo Robles Elvira <edulix@wadobo.com>
Mon, 20 Jan 2014 09:07:16 +0000 (10:07 +0100)
committerEduardo Robles Elvira <edulix@wadobo.com>
Mon, 20 Jan 2014 09:07:16 +0000 (10:07 +0100)
setup.py [new file with mode: 0644]
setup.sh [new file with mode: 0755]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..265ee26
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python3
+
+from distutils.core import setup
+
+setup(
+    name='python-delta-tar',
+    version='1.0',
+    description='deltatar python package',
+    author='Intra2net',
+    author_email='info@intra2net.com',
+    url='http://www.intra2net.com',
+    classifiers='Intranator',
+    license='LGPL',
+    packages=['deltatar'],
+    scripts=['filesplit.py', 'rescue_tar.py']
+)
\ No newline at end of file
diff --git a/setup.sh b/setup.sh
new file mode 100755 (executable)
index 0000000..60a2734
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+python3 setup.py bdist_rpm --release=1 --requires=python3 --group=Intranator