Commit 2c1e00ab authored by Vincent A's avatar Vincent A

setup: move stuff from setup.py to setup.cfg

parent 6ec2152a
......@@ -42,3 +42,97 @@ group = root
owner = root
group = root
universal = 1
[metadata]
name = weboob
# TODO fetch from __init__.py
version = 1.6
description = Weboob, Web Outside Of Browsers
long_description = file:README.md
author = Romain Bignon
author_email = weboob@weboob.org
maintainer = Romain Bignon
maintainer_email = romain@weboob.org
url = https://weboob.org/
license = GNU LGPL 3
classifiers =
Environment :: Console
License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python
Topic :: Communications :: Email
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Browsers
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Text Processing :: Markup :: HTML
[options]
python_requires = >= 3.5
install_requires =
lxml
cssselect
requests>=2.0.0
python-dateutil
PyYAML
html2text>=3.200
six
unidecode
Pillow
Babel
tests_require =
flake8
nose
xunitparser
coverage
# TODO [options.data_files]
[options.entry_points]
console_scripts =
boobank = weboob.applications.boobank:Boobank.run
boobathon = weboob.applications.boobathon:Boobathon.run
boobcoming = weboob.applications.boobill:Boobcoming.run
boobill = weboob.applications.boobank:Boobill.run
booblyrics = weboob.applications.booblyrics:Booblyrics.run
boobmsg = weboob.applications.boobmsg:Boobmsg.run
boobooks = weboob.applications.boobooks:Boobooks.run
boobsize = weboob.applications.boobsize:Boobsize.run
boobtracker = weboob.applications.boobtracker:BoobTracker.run
boomoney = weboob.applications.boomoney:Boomoney.run
cineoob = weboob.applications.cineoob:Cineoob.run
comparoob = weboob.applications.comparoob:Comparoob.run
cookboob = weboob.applications.cookboob:Cookboob.run
flatboob = weboob.applications.flatboob:Flatboob.run
galleroob = weboob.applications.galleroob:Galleroob.run
geolooc = weboob.applications.geolooc:Geolooc.run
handjoob = weboob.applications.handjoob:Handjoob.run
havedate = weboob.applications.havedate:HaveDate.run
monboob = weboob.applications.monboob:Monboob.run
parceloob = weboob.applications.parceloob:Parceloob.run
pastoob = weboob.applications.pastoob:Pastoob.run
radioob = weboob.applications.radioob:Radioob.run
shopoob = weboob.applications.shopoob:Shopoob.run
suboob = weboob.applications.suboob:Suboob.run
translaboob = weboob.applications.translaboob:Translaboob.run
traveloob = weboob.applications.traveloob:Traveloob.run
videoob = weboob.applications.videoob:Videoob.run
webcontentedit = weboob.applications.webcontentedit:WebContentEdit.run
weboob-cli = weboob.applications.weboobcli:WeboobCli.run
weboob-config = weboob.applications.weboobcfg:WeboobCfg.run
weboob-debug = weboob.applications.weboobdebug:WeboobDebug.run
weboob-repos = weboob.applications.weboobrepos:WeboobRepos.run
weboorrents = weboob.applications.weboorrents:Weboorrents.run
wetboobs = weboob.applications.wetboobs:WetBoobs.run
weboob = weboob.applications.weboobmain:WeboobMain.run
......@@ -33,51 +33,10 @@ PY3 = sys.version_info.major >= 3
def install_weboob():
packages = set(find_packages(exclude=['modules', 'modules.*']))
entry_points = {
'console_scripts': [
'boobank = weboob.applications.boobank:Boobank.run',
'boobathon = weboob.applications.boobathon:Boobathon.run',
'boobcoming = weboob.applications.boobill:Boobcoming.run',
'boobill = weboob.applications.boobank:Boobill.run',
'booblyrics = weboob.applications.booblyrics:Booblyrics.run',
'boobmsg = weboob.applications.boobmsg:Boobmsg.run',
'boobooks = weboob.applications.boobooks:Boobooks.run',
'boobsize = weboob.applications.boobsize:Boobsize.run',
'boobtracker = weboob.applications.boobtracker:BoobTracker.run',
'boomoney = weboob.applications.boomoney:Boomoney.run',
'cineoob = weboob.applications.cineoob:Cineoob.run',
'comparoob = weboob.applications.comparoob:Comparoob.run',
'cookboob = weboob.applications.cookboob:Cookboob.run',
'flatboob = weboob.applications.flatboob:Flatboob.run',
'galleroob = weboob.applications.galleroob:Galleroob.run',
'geolooc = weboob.applications.geolooc:Geolooc.run',
'handjoob = weboob.applications.handjoob:Handjoob.run',
'havedate = weboob.applications.havedate:HaveDate.run',
'monboob = weboob.applications.monboob:Monboob.run',
'parceloob = weboob.applications.parceloob:Parceloob.run',
'pastoob = weboob.applications.pastoob:Pastoob.run',
'radioob = weboob.applications.radioob:Radioob.run',
'shopoob = weboob.applications.shopoob:Shopoob.run',
'suboob = weboob.applications.suboob:Suboob.run',
'translaboob = weboob.applications.translaboob:Translaboob.run',
'traveloob = weboob.applications.traveloob:Traveloob.run',
'videoob = weboob.applications.videoob:Videoob.run',
'webcontentedit = weboob.applications.webcontentedit:WebContentEdit.run',
'weboob-cli = weboob.applications.weboobcli:WeboobCli.run',
'weboob-config = weboob.applications.weboobcfg:WeboobCfg.run',
'weboob-debug = weboob.applications.weboobdebug:WeboobDebug.run',
'weboob-repos = weboob.applications.weboobrepos:WeboobRepos.run',
'weboorrents = weboob.applications.weboorrents:Weboorrents.run',
'wetboobs = weboob.applications.wetboobs:WetBoobs.run',
'weboob = weboob.applications.weboobmain:WeboobMain.run',
],
}
data_files = [
('share/man/man1', glob.glob('man/*')),
]
# Do not put PyQt, it does not work properly.
requirements = [
'lxml',
'cssselect',
......@@ -99,47 +58,8 @@ def install_weboob():
pass
setup(
name='weboob',
version='1.6',
description='Weboob, Web Outside Of Browsers',
long_description=open('README.md').read(),
author='Romain Bignon',
author_email='weboob@weboob.org',
maintainer='Romain Bignon',
maintainer_email='romain@weboob.org',
url='http://weboob.org/',
license='GNU LGPL 3',
classifiers=[
'Environment :: Console',
'Environment :: X11 Applications :: Qt',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python',
'Topic :: Communications :: Email',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Browsers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML',
],
packages=packages,
entry_points=entry_points,
data_files=data_files,
install_requires=requirements,
python_requires='>=3.5',
tests_require=[
'flake8',
'nose',
'xunitparser',
'coverage',
],
)
......
  • I have a problem since this commit. The install command : ./tools/local_install.sh ../bin fail.

    The beginning of command line's return give :

    Weboob local installer
    
    Installing weboob applications into ‘../bin/’.
    running install
    running bdist_egg
    running egg_info
    creating UNKNOWN.egg-info
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    writing UNKNOWN.egg-info/PKG-INFO
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'Makefile' under directory 'weboob/applications'
    warning: no files found matching 'Makefile' under directory 'weboob/tools/application'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    installing library code to build/bdist.linux-x86_64/egg
    ...
    

    You can see "UNKNOWN" instead of "weboob"

  • mentioned in commit 91f5e1d4

    Toggle commit list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment