From 62985d66daf77d921a4dba98061e502c622920f7 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 3 Jan 2011 14:41:08 +0000 Subject: [PATCH] Python installer angefangen git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/fbrehm/trunk@177 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- MANIFEST.in | 1 + Makefile | 22 ++++++++++++++++++++++ README.txt | 4 ++++ setup.py | 24 ++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 MANIFEST.in create mode 100644 Makefile create mode 100644 README.txt create mode 100755 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..2b0b5ab --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include Makefile diff --git a/Makefile b/Makefile new file mode 100644 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 index 0000000..b12d5b6 --- /dev/null +++ b/README.txt @@ -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 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', +) + -- 2.39.5