wallabag api ok

This commit is contained in:
Olivier Demah
2016-04-18 15:03:57 +02:00
parent d17614e4db
commit 44b4eb90df
6 changed files with 96 additions and 84 deletions

View File

@@ -1,27 +1,19 @@
from setuptools import setup, find_packages
from wallabag_api import __version__ as version
import os
def strip_comments(l):
return l.split('#', 1)[0].strip()
def reqs(*f):
return list(filter(None, [strip_comments(l) for l in open(
os.path.join(os.getcwd(), *f)).readlines()]))
install_requires = reqs('requirements.txt')
install_requires = [
'requests==2.5.0',
]
setup(
name='wallabag_api',
version=version,
description='Wallabag API',
description='Wallabag API to add every pages you want to your Wallabag account',
author='FoxMaSk',
author_email='foxmask@trigger-happy.eu',
url='https://github.com/foxmask/wallabag_api',
download_url="https://github.com/foxmask/wallabag_api/archive/wallabag_api-"
+ version + ".zip",
download_url="https://github.com/foxmask/wallabag_api/archive/"
"wallabag_api-" + version + ".zip",
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
@@ -29,8 +21,8 @@ setup(
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
install_requires=install_requires,
include_package_data=True,