diff --git a/pyproject.toml b/pyproject.toml index 24be398..27b6d6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [build-system] requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" [project] name = "leaptime-manager" @@ -42,7 +43,7 @@ leaptime-manager = "LeaptimeManager.main:start_LTMCli" where = ["src"] [tool.setuptools.package-data] -"*" = ["*VERSION", "*.ui"] +"*" = ["*.ui"] [tool.setuptools.dynamic] version = {file = "src/LeaptimeManager/VERSION"} diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index c2ed979..0000000 --- a/setup.cfg +++ /dev/null @@ -1,42 +0,0 @@ -[metadata] -name = leaptime-manager -version = file: src/LeaptimeManager/VERSION -author = Himadri Sekhar Basu -author_email = hsb10@iitbbs.ac.in -description = All-in-one GUI based backup manager -long_description = file: README.md -long_description_content_type = text/markdown -url = https://www.github.com/mamolinux/leaptime-manager -project_urls = - Bug Tracker = https://www.github.com/mamolinux/leaptime-manager/issues -classifiers = - Development Status :: 5 - Production/Stable - Environment :: X11 Applications :: GTK - Intended Audience :: End Users/Desktop - License :: OSI Approved - :: GNU General Public License v2 or later (GPLv3+) - Operating System :: POSIX - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - Topic :: Administration - -[options] -package_dir = - = src -packages = find_namespace: -python_requires = >=3.6 -include_package_data = True -install_requires = - configobj - PyGObject - setproctitle - -[options.package_data] -* = *VERSION, *ui - -[options.packages.find] -where = src - -[options.entry_points] -console_scripts = - leaptime-manager = LeaptimeManager.main:start_LTMCli diff --git a/setup.py b/setup.py index e594cb9..f7159f7 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def run(self): data_files = [('share/applications', glob.glob("data/applications/*.desktop")), ('share/icons/hicolor/scalable/apps', glob.glob("data/icons/*")), - (gschema_dir_suffix, glob.glob("data/schema/*.xml")) + (gschema_dir_suffix, glob.glob("data/*.xml")) ] def create_mo_files():