1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 04:19:59 +00:00

Modified build script to avoid warnings

This commit is contained in:
Ozzie Isaacs 2023-10-16 18:17:54 +02:00
parent 65f3ecb924
commit f0f8011d24
2 changed files with 8 additions and 4 deletions

View File

@ -13,7 +13,7 @@ author = @OzzieIsaacs
author_email = Ozzie.Fernandez.Isaacs@googlemail.com author_email = Ozzie.Fernandez.Isaacs@googlemail.com
maintainer = @OzzieIsaacs maintainer = @OzzieIsaacs
license = GPLv3+ license = GPLv3+
license_file = LICENSE license_files = LICENSE
classifiers = classifiers =
Development Status :: 5 - Production/Stable Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU Affero General Public License v3 License :: OSI Approved :: GNU Affero General Public License v3
@ -58,7 +58,10 @@ install_requires =
chardet>=3.0.0,<4.1.0 chardet>=3.0.0,<4.1.0
advocate>=1.0.0,<1.1.0 advocate>=1.0.0,<1.1.0
Flask-Limiter>=2.3.0,<3.5.0 Flask-Limiter>=2.3.0,<3.5.0
[options.packages.find]
where = src
include = cps/services*
[options.extras_require] [options.extras_require]
gdrive = gdrive =

View File

@ -40,7 +40,8 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.") raise RuntimeError("Unable to find version string.")
setup( setup(
packages=find_packages("src"), #packages=find_packages("src"),
package_dir = {'': 'src'}, #package_dir = {'': 'src'},
#package_data={"calibreweb": ["cps/translations/*/LC_MESSAGES/*.mo"], "templates": ["*.html"]},
version=find_version("src", "calibreweb", "cps", "constants.py") version=find_version("src", "calibreweb", "cps", "constants.py")
) )