From b3a286c0b5992f9be1b8739db52d00055fad3544 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 31 May 2019 11:39:14 +0200 Subject: [PATCH] Add initial setuptools integration --- MANIFEST.in | 3 +++ setup.cfg | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 5 +++++ 3 files changed, 70 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..f4dcc845 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include cps/static/* +include cps/templates/* +include cps/translations/* diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..99c3f688 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,62 @@ +[bdist_wheel] +universal = 1 + +[metadata] +name = calibre-web +url = https://github.com/janeczku/calibre-web +project_urls = + Bug Tracker = https://github.com/janeczku/calibre-web/issues + Release Management = https://github.com/janeczku/calibre-web/releases + Documentation = https://github.com/janeczku/calibre-web/wiki + Source Code = https://github.com/janeczku/calibre-web +description = Web app for browsing, reading and downloading eBooks stored in a Calibre database. +long_description = file: README.md +author = @janeczku +maintainer = @janeczku +license = GPLv3+ +license_file = LICENSE +classifiers = + Development Status :: 5 - Production/Stable + License :: OSI Approved :: GNU Affero General Public License v3 + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 +keywords = + calibre + calibre-web + library + +[options] +python_requires = >=2.6 +packages = find: +include_package_data = True +zip_safe = False +install_requires = + Babel >= 1.3 + Flask-Babel >= 0.11.1 + Flask-Login >= 0.3.2 + Flask-Principal >= 0.3.2 + singledispatch >= 3.4.0.0 + backports_abc >= 0.4 + Flask >= 0.11 + iso-639 >= 0.4.5 + PyPDF2 == 1.26.0 + pytz >= 2016.10 + requests >= 2.11.1 + SQLAlchemy >= 1.1.0 + tornado >= 4.1 + Wand >= 0.4.4 + unidecode >= 0.04.19 + comicapi @ git+https://github.com/wildthyme/comicapi.git@cb279168f9c5cec742b5a05ac8326b9c168a8a91#egg=comicapi + +[options.extras_require] +gdrive = + google-api-python-client == 1.6.1 +goodreads = + goodreads >= 0.3.2 + +[options.packages.find] +where = . diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..e4bd617c --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +"""Calibre-web distribution package setuptools installer.""" + +from setuptools import setup + +setup()