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
maintainer = @OzzieIsaacs
license = GPLv3+
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU Affero General Public License v3
@ -59,6 +59,9 @@ install_requires =
advocate>=1.0.0,<1.1.0
Flask-Limiter>=2.3.0,<3.5.0
[options.packages.find]
where = src
include = cps/services*
[options.extras_require]
gdrive =

View File

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