]> Frank Brehm's Git Trees - my-stuff/fbrehm.git/commitdiff
Python installer angefangen
authorFrank Brehm <frank@brehm-online.com>
Mon, 3 Jan 2011 14:41:08 +0000 (14:41 +0000)
committerFrank Brehm <frank@brehm-online.com>
Mon, 3 Jan 2011 14:41:08 +0000 (14:41 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/fbrehm/trunk@177 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

MANIFEST.in [new file with mode: 0644]
Makefile [new file with mode: 0644]
README.txt [new file with mode: 0644]
setup.py [new file with mode: 0755]

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644 (file)
index 0000000..2b0b5ab
--- /dev/null
@@ -0,0 +1 @@
+include Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..1d7c87f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+#
+# $Id$
+# $URL$
+#
+
+PYTHON=`which python`
+DESTDIR=/var/tmp/testinst
+PROJECT=fbrehm-libs
+BUILDIR=$(CURDIR)/debian/python-$(PROJECT)
+VERSION=0.1.1
+
+all:
+       @echo "make source - Create source package"
+       @echo "make install - Install on local system"
+       @echo "make buildrpm - Generate a rpm package"
+       @echo "make builddeb - Generate a deb package"
+       @echo "make clean - Get rid of scratch and byte files"
+
+source:
+       $(PYTHON) setup.py sdist $(COMPILE)
+
+
diff --git a/README.txt b/README.txt
new file mode 100644 (file)
index 0000000..b12d5b6
--- /dev/null
@@ -0,0 +1,4 @@
+Some desription of the Modules of Frank Brehm:
+
+       to be done ...
+
diff --git a/setup.py b/setup.py
new file mode 100755 (executable)
index 0000000..959acc0
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+
+# $Id$
+# $URL$
+
+from distutils.core import setup
+
+long_description = '''
+This is a collection of common usable python modules
+made by Frank Brehm.
+'''
+
+setup( name = 'fbrehm-libs',
+       version = '0.1',
+       description = 'collection of common python modules by Frank Brehm',
+       long_description = long_description,
+       author = 'Frank Brehm',
+       author_email = 'frank@brehm-online.com',
+       url = 'http://www.brehm-online.com/projects/fbrehm-libs',
+       packages = [ 'fbrehm', 'fbrehm.common', ],
+       package_dir = {'': 'src'},
+       license = 'GPL-3',
+)
+