From 37618bb28a55271b10ca5e8c98383f832b9d633a Mon Sep 17 00:00:00 2001 From: Christophe Benz Date: Tue, 6 Jul 2010 12:12:57 +0200 Subject: [PATCH] create setup.py files for multi-packaging --- setup.py | 20 +-- tools/create_all_packages.sh | 26 ++++ weboob/__init__.py | 20 +-- weboob/backends/__init__.py | 1 + weboob/backends/setup.py | 194 ++++++++++++++++++++++++++ weboob/capabilities/__init__.py | 1 + weboob/frontends/__init__.py | 1 + weboob/frontends/boobank/setup.py | 46 ++++++ weboob/frontends/masstransit/setup.py | 46 ++++++ weboob/frontends/monboob/setup.py | 45 ++++++ weboob/frontends/qboobmsg/setup.py | 45 ++++++ weboob/frontends/qhavesex/setup.py | 46 ++++++ weboob/frontends/qvideoob/setup.py | 46 ++++++ weboob/frontends/travel/setup.py | 46 ++++++ weboob/frontends/videoob/setup.py | 46 ++++++ weboob/frontends/videoob_web/setup.py | 46 ++++++ weboob/frontends/weboorrents/setup.py | 46 ++++++ weboob/frontends/wetboobs/setup.py | 45 ++++++ weboob/setup.py | 64 +++++++++ 19 files changed, 798 insertions(+), 32 deletions(-) create mode 100755 tools/create_all_packages.sh create mode 100755 weboob/backends/setup.py create mode 100755 weboob/frontends/boobank/setup.py create mode 100755 weboob/frontends/masstransit/setup.py create mode 100755 weboob/frontends/monboob/setup.py create mode 100755 weboob/frontends/qboobmsg/setup.py create mode 100755 weboob/frontends/qhavesex/setup.py create mode 100755 weboob/frontends/qvideoob/setup.py create mode 100755 weboob/frontends/travel/setup.py create mode 100755 weboob/frontends/videoob/setup.py create mode 100755 weboob/frontends/videoob_web/setup.py create mode 100755 weboob/frontends/weboorrents/setup.py create mode 100755 weboob/frontends/wetboobs/setup.py create mode 100755 weboob/setup.py diff --git a/setup.py b/setup.py index e22ba40c..1b57a092 100755 --- a/setup.py +++ b/setup.py @@ -17,27 +17,21 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -try: - from setuptools import setup, find_packages -except ImportError: - from ez_setup import use_setuptools - use_setuptools() - from setuptools import setup, find_packages +from setuptools import find_packages, setup import os setup( - name='weboob', - version='0.1', - description='Weboob, web out of the browser', + name='weboob-dev', + version='dev', + description='Weboob, Web Out Of Browsers - core library', author='Romain Bignon', - author_email='romain@peerfuse.org', + author_email='weboob@lists.symlink.me', license='GPLv3', url='http://www.weboob.org', - packages=find_packages(exclude=['ez_setup']), + packages=find_packages(), scripts=[os.path.join('scripts', script) for script in os.listdir('scripts')], - package_data={'weboob.frontends.videoob_web': ['templates/*.mako']}, install_requires=[ - ] + ], ) diff --git a/tools/create_all_packages.sh b/tools/create_all_packages.sh new file mode 100755 index 00000000..46522919 --- /dev/null +++ b/tools/create_all_packages.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +COMMAND="$1" + +SETUP_PY_LIST=" +weboob/setup.py +weboob/backends/setup.py +weboob/frontends/boobank/setup.py +weboob/frontends/masstransit/setup.py +weboob/frontends/monboob/setup.py +weboob/frontends/qboobmsg/setup.py +weboob/frontends/qhavesex/setup.py +weboob/frontends/qvideoob/setup.py +weboob/frontends/travel/setup.py +weboob/frontends/videoob/setup.py +weboob/frontends/videoob_web/setup.py +weboob/frontends/weboorrents/setup.py +weboob/frontends/wetboobs/setup.py +" + + +for f in $SETUP_PY_LIST +do + python $f clean --all + python $f "$COMMAND" +done diff --git a/weboob/__init__.py b/weboob/__init__.py index 1b29fdbd..de40ea7c 100644 --- a/weboob/__init__.py +++ b/weboob/__init__.py @@ -1,19 +1 @@ -# -*- coding: utf-8 -*- - -# Copyright(C) 2010 Romain Bignon -# -# This program 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, version 3 of the License. -# -# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -from .ouiboube import Weboob, CallErrors +__import__('pkg_resources').declare_namespace(__name__) diff --git a/weboob/backends/__init__.py b/weboob/backends/__init__.py index e69de29b..de40ea7c 100644 --- a/weboob/backends/__init__.py +++ b/weboob/backends/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/weboob/backends/setup.py b/weboob/backends/setup.py new file mode 100755 index 00000000..47dbb6fe --- /dev/null +++ b/weboob/backends/setup.py @@ -0,0 +1,194 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-bank-backends', + version='0.1', + description='Weboob backends implementing bank capability', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapBank', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.bnporc', + 'weboob.backends.bnporc.data', + 'weboob.backends.bnporc.pages', + 'weboob.backends.cragr', + 'weboob.backends.cragr.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-dating-backends', + version='0.1', + description='Weboob backends implementing dating capability', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapDating', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.aum', + 'weboob.backends.aum.data', + 'weboob.backends.aum.optim', + 'weboob.backends.aum.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-messages-backends', + version='0.1', + description='Weboob backends implementing messages capability', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapMessages', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.dlfp', + 'weboob.backends.dlfp.pages', + 'weboob.backends.fourchan', + 'weboob.backends.fourchan.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-travel-backends', + version='0.1', + description='Weboob backends implementing travel capability', + author='Romain Bignon, Julien Hébert', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapTravel', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.canaltp', + 'weboob.backends.transilien', + 'weboob.backends.transilien.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-torrent-backends', + version='0.1', + description='Weboob backends implementing torrent capability', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapTorrent', + namespace_packages = ['weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.gazelle', + 'weboob.backends.gazelle.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-video-backends', + version='0.1', + description='Weboob backends implementing video capability', + author='Christophe Benz, Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapVideo', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.ina', + 'weboob.backends.ina.pages', + 'weboob.backends.youtube', + 'weboob.backends.youtube.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-video-backends-nsfw', + version='0.1', + description='Weboob backends implementing video capability - non-suitable for work', + author='Romain Bignon, Roger Philibert', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapVideo', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.youjizz', + 'weboob.backends.youjizz.pages', + 'weboob.backends.youporn', + 'weboob.backends.youporn.pages', + ], + install_requires=[ + 'weboob-core', + ], +) + +setup( + name='weboob-weather-backends', + version='0.1', + description='Weboob backends implementing weather capability', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/ICapWeather', + namespace_packages = ['weboob', 'weboob.backends'], + packages=[ + 'weboob', + 'weboob.backends', + 'weboob.backends.yweather', + ], + install_requires=[ + 'weboob-core', + ], +) diff --git a/weboob/capabilities/__init__.py b/weboob/capabilities/__init__.py index e69de29b..de40ea7c 100644 --- a/weboob/capabilities/__init__.py +++ b/weboob/capabilities/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/weboob/frontends/__init__.py b/weboob/frontends/__init__.py index e69de29b..de40ea7c 100644 --- a/weboob/frontends/__init__.py +++ b/weboob/frontends/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/weboob/frontends/boobank/setup.py b/weboob/frontends/boobank/setup.py new file mode 100755 index 00000000..e0287d59 --- /dev/null +++ b/weboob/frontends/boobank/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-boobank', + version='0.1', + description='Boobank, the Weboob bank-accounts swiss-knife', + long_description='List your bank accounts and get info about them', + author='Christophe Benz, Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Boobank', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.boobank', + ], + scripts=[ + 'scripts/boobank', + ], + install_requires=[ + 'weboob-bank-backends', + ], +) diff --git a/weboob/frontends/masstransit/setup.py b/weboob/frontends/masstransit/setup.py new file mode 100755 index 00000000..c9cbda3a --- /dev/null +++ b/weboob/frontends/masstransit/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-masstransit', + version='0.1', + description='Masstransit, the Weboob travel swiss-knife, Hildon version (Maemo OS)', + long_description='Search for train stations and departure timegrids', + author='Julien Hébert', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Masstransit', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.masstransit', + ], + scripts=[ + 'scripts/masstransit', + ], + install_requires=[ + 'weboob-travel-backends', + ], +) diff --git a/weboob/frontends/monboob/setup.py b/weboob/frontends/monboob/setup.py new file mode 100755 index 00000000..616e9415 --- /dev/null +++ b/weboob/frontends/monboob/setup.py @@ -0,0 +1,45 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-monboob', + version='0.1', + description='Monboob, the Weboob e-mail swiss-knife', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Monboob', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.monboob', + ], + scripts=[ + 'scripts/monboob', + ], + install_requires=[ + 'weboob-messages-backends', + ], +) diff --git a/weboob/frontends/qboobmsg/setup.py b/weboob/frontends/qboobmsg/setup.py new file mode 100755 index 00000000..0cf39e75 --- /dev/null +++ b/weboob/frontends/qboobmsg/setup.py @@ -0,0 +1,45 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-qboobmsg', + version='0.1', + description='QBoobMsg, the Weboob e-mail swiss-knife, Qt version', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/QBoobMsg', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.qboobmsg', + ], + scripts=[ + 'scripts/qboobmsg', + ], + install_requires=[ + 'weboob-messages-backends', + ], +) diff --git a/weboob/frontends/qhavesex/setup.py b/weboob/frontends/qhavesex/setup.py new file mode 100755 index 00000000..421de501 --- /dev/null +++ b/weboob/frontends/qhavesex/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-qhavesex', + version='0.1', + description='QHaveSex, the Weboob sexual life swiss-knife, Qt version', + long_description='Optimize your probabilities to have sex on dating websites', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/QHaveSex', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.qhavesex', + ], + scripts=[ + 'scripts/qhavesex', + ], + install_requires=[ + 'weboob-dating-backends', + ], +) diff --git a/weboob/frontends/qvideoob/setup.py b/weboob/frontends/qvideoob/setup.py new file mode 100755 index 00000000..2106c7b8 --- /dev/null +++ b/weboob/frontends/qvideoob/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-qvideoob', + version='0.1', + description='QVideoob, the Weboob video swiss-knife, Qt version', + long_description='Search for videos on many websites, and get info about them', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/QVideoob', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.qvideoob', + ], + scripts=[ + 'scripts/qvideoob', + ], + install_requires=[ + 'weboob-video-backends', + ], +) diff --git a/weboob/frontends/travel/setup.py b/weboob/frontends/travel/setup.py new file mode 100755 index 00000000..1a60f689 --- /dev/null +++ b/weboob/frontends/travel/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-travel', + version='0.1', + description='The Weboob travel swiss-knife', + long_description='Search for train stations and departure timegrids', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Travel', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.travel', + ], + scripts=[ + 'scripts/travel', + ], + install_requires=[ + 'weboob-travel-backends', + ], +) diff --git a/weboob/frontends/videoob/setup.py b/weboob/frontends/videoob/setup.py new file mode 100755 index 00000000..f0c7b93e --- /dev/null +++ b/weboob/frontends/videoob/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-videoob', + version='0.1', + description='Videoob, the Weboob video swiss-knife', + long_description='Search for videos on many websites, and get info about them', + author='Christophe Benz', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Videoob', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.videoob', + ], + scripts=[ + 'scripts/videoob', + ], + install_requires=[ + 'weboob-video-backends', + ], +) diff --git a/weboob/frontends/videoob_web/setup.py b/weboob/frontends/videoob_web/setup.py new file mode 100755 index 00000000..65dddad4 --- /dev/null +++ b/weboob/frontends/videoob_web/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-videoob-web', + version='0.1', + description='Videoob-web, the Weboob video swiss-knife, web server version', + long_description='Search for videos on many websites, and get info about them', + author='Christophe Benz', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/VideoobWeb', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.videoob_web', + ], + scripts=[ + 'scripts/videoob-web-server', + ], + install_requires=[ + 'weboob-video-backends', + ], +) diff --git a/weboob/frontends/weboorrents/setup.py b/weboob/frontends/weboorrents/setup.py new file mode 100755 index 00000000..139b3bd9 --- /dev/null +++ b/weboob/frontends/weboorrents/setup.py @@ -0,0 +1,46 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-weboorrents', + version='0.1', + description='Weboorrents, the Weboob bittorrent swiss-knife', + long_description='Search for torrents on many websites, and get info about them', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Weboorrents', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.weboorrents', + ], + scripts=[ + 'scripts/weboorrents', + ], + install_requires=[ + 'weboob-torrent-backends', + ], +) diff --git a/weboob/frontends/wetboobs/setup.py b/weboob/frontends/wetboobs/setup.py new file mode 100755 index 00000000..bd675ef9 --- /dev/null +++ b/weboob/frontends/wetboobs/setup.py @@ -0,0 +1,45 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-wetboobs', + version='0.1', + description='Wetboobs, the Weboob weather forecast swiss-knife', + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://weboob.org/Wetboobs', + namespace_packages = ['weboob', 'weboob.frontends'], + packages=[ + 'weboob', + 'weboob.frontends', + 'weboob.frontends.wetboobs', + ], + scripts=[ + 'scripts/wetboobs', + ], + install_requires=[ + 'weboob-weather-backends', + ], +) diff --git a/weboob/setup.py b/weboob/setup.py new file mode 100755 index 00000000..d18fb408 --- /dev/null +++ b/weboob/setup.py @@ -0,0 +1,64 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# Copyright(C) 2010 Christophe Benz +# +# This program 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, version 3 of the License. +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +from setuptools import setup + +import os + + +setup( + name='weboob-core', + version='0.1', + description='Weboob, Web Out Of Browsers - core library', + # long_description=read('README'), + author='Romain Bignon', + author_email='weboob@lists.symlink.me', + license='GPLv3', + url='http://www.weboob.org', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Natural Language :: English', + 'Programming Language :: Python', + 'Topic :: Internet', + ], + # keywords='', + namespace_packages = ['weboob'], + packages=[ + 'weboob', + 'weboob.capabilities', + 'weboob.core', + 'weboob.tools', + 'weboob.tools.application', + 'weboob.tools.application.formatters', + 'weboob.tools.application.qt', + 'weboob.tools.browser', + 'weboob.tools.config', + 'weboob.tools.parsers', + ], + scripts=[ + 'scripts/weboobcfg', + 'scripts/weboob-debug', + 'scripts/weboob-tests', + ], + install_requires=[ + ], +)