- Installers for modules moved outside of the debian directory

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@288 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf 2011-03-22 16:17:41 +00:00
parent b4dffea5cf
commit abc4c06dfa
7 changed files with 33 additions and 3 deletions

View File

@ -17,13 +17,14 @@ install:
cp relational.desktop /usr/share/applications/
chmod a+r /usr/share/applications/relational.desktop
source: clean
dist: clean
rm -rf /tmp/relational/
rm -rf /tmp/relational-*
mkdir /tmp/relational/
cp -R * /tmp/relational/
rm -rf /tmp/relational/windows
rm -rf /tmp/relational/samples/.svn/
rm -rf /tmp/relational/setup/.svn/
rm -rf /tmp/relational/debscript/.svn/
rm -rf /tmp/relational/mac/.svn/
rm -rf /tmp/relational/relational/.svn/
@ -59,6 +60,8 @@ clean:
rm -rf relational_readline/*~ || echo ok
rm -rf relational_readline/*.pyc || echo ok
rm -rf relational_readline/*.pyo || echo ok
rm -rf setup/*.pyc || echo ok
rm -rf setup/*.pyo || echo ok
rm -rf relational_mac
rm -rf test/*~
mac: app

3
debian/changelog vendored
View File

@ -3,8 +3,9 @@ relational (1.0-1) unstable; urgency=low
* New upstream release
* Merged relational-cli upstream, dropped debian patch
* Using relational_gui.py for both relational and relational-cli packages
* Merged various setup.py upstream
-- Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Fri, 04 Mar 2011 13:28:51 +0100
-- Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Tue, 22 Mar 2011 17:11:28 +0100
relational (0.11-2) unstable; urgency=low

2
debian/rules vendored
View File

@ -12,7 +12,7 @@ override_dh_auto_clean:
override_dh_auto_build:
override_dh_auto_install:
for pkg in relational-cli python-relational relational; do \
python debian/$${pkg}.setup.py install --root=$(CURDIR)/debian/$${pkg}; \
python setup/$${pkg}.setup.py install --root=$(CURDIR)/debian/$${pkg}; \
rm -rf build; \
done

23
setup/installer_common.py Normal file
View File

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# Relational
# Copyright (C) 2008 Salvo "LtWorf" Tomaselli
#
# Relational is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
from distutils.core import setup
def c_setup(name)
setup(name=name, packages=(name,))

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='relational', packages=('relational',))

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='relational_readline', packages=('relational_readline',))

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='relational_gui', packages=('relational_gui',))