more work on Debian packages creation
This commit is contained in:
parent
6e94a3101a
commit
b4efc7430d
31 changed files with 256 additions and 60 deletions
104
tools/packaging/setup.py.d/core.py
Executable file
104
tools/packaging/setup.py.d/core.py
Executable file
|
|
@ -0,0 +1,104 @@
|
|||
#! /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
|
||||
|
||||
|
||||
setup(
|
||||
name='weboob-core',
|
||||
version='0.1',
|
||||
description='Weboob, Web Out Of Browsers - core library',
|
||||
long_description="""
|
||||
Weboob is a project which provides a core library, backends and applications.
|
||||
|
||||
The core library defines capabilities: features common to various websites. For example, http://www.youtube.com and
|
||||
http://www.dailymotion.com are both videos providers: Weboob defines the “ICapVideo” capability.
|
||||
|
||||
Each backend interfaces a website and implements one or many of these capabilities. Backends can be configured, which
|
||||
means that the end-user can provide personal information to access the underlaying website (login/password for example).
|
||||
|
||||
Applications offer the ability to the end-user to work with many backends in parallel, in a multi-threaded way. For
|
||||
example, one could search a video on many providers websites. Applications are toolkit-agnostic. They can use Gtk, Qt or
|
||||
text-only, more adapted to reuse data through pipes.
|
||||
|
||||
The core library provides base classes which help the developer to write backends and applications.
|
||||
|
||||
Weboob is written in Python and is distributed under the GPLv3 license.
|
||||
""",
|
||||
author='Romain Bignon',
|
||||
author_email='weboob@lists.symlink.me',
|
||||
maintainer='Christophe Benz',
|
||||
maintainer_email='christophe.benz@gmail.com',
|
||||
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',
|
||||
'weboob.applications',
|
||||
'weboob.tools',
|
||||
'weboob.tools.application',
|
||||
],
|
||||
packages=[
|
||||
'weboob',
|
||||
'weboob.applications',
|
||||
'weboob.applications.weboobcfg',
|
||||
'weboob.applications.weboobdebug',
|
||||
'weboob.applications.weboobtests',
|
||||
'weboob.capabilities',
|
||||
'weboob.core',
|
||||
'weboob.tools',
|
||||
'weboob.tools.application',
|
||||
'weboob.tools.application.formatters',
|
||||
'weboob.tools.browser',
|
||||
'weboob.tools.config',
|
||||
'weboob.tools.parsers',
|
||||
],
|
||||
scripts=[
|
||||
'scripts/weboob-config',
|
||||
# 'scripts/weboob-debug',
|
||||
# 'scripts/weboob-tests',
|
||||
],
|
||||
install_requires=[
|
||||
'elementtidy', # python-elementtidy
|
||||
'lxml', # python-lxml
|
||||
'mechanize', # python-mechanize
|
||||
'python-dateutil', # python-dateutil
|
||||
'PyYAML', # python-yaml
|
||||
],
|
||||
# package name / Debian package name
|
||||
#
|
||||
# Recommends
|
||||
# html2text / python-html2text
|
||||
# PrettyTable / python-prettytable
|
||||
#
|
||||
# Suggests
|
||||
# ClientForm / python-clientform
|
||||
# ipython / ipython
|
||||
# nose / python-nose
|
||||
# pysqlite / python-pysqlite2
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue