2023-08-08 06:44:27 +03:00
|
|
|
from pathlib import Path
|
|
|
|
import re
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
setup_dir = Path(__file__).resolve().parent
|
|
|
|
|
|
|
|
version = re.search( r'__version__ = "(.*)"', Path(setup_dir, 'waypaper/__main__.py').open().read())
|
|
|
|
if version is None:
|
|
|
|
raise SystemExit("Could not determine version to use")
|
|
|
|
version = version.group(1)
|
|
|
|
setuptools.setup(
|
|
|
|
name='waypaper',
|
|
|
|
author='Roman Anufriev',
|
|
|
|
author_email='anufriev.roman@protonmail.com',
|
|
|
|
url='https://github.com/anufrievroman/waypaper',
|
|
|
|
description='GUI wallpaper setter for Wayland',
|
|
|
|
long_description=Path(setup_dir, 'README.md').open().read(),
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
license='GPL',
|
|
|
|
entry_points={
|
2023-10-13 00:49:58 +03:00
|
|
|
"gui_scripts": [
|
2023-08-08 06:44:27 +03:00
|
|
|
"waypaper = waypaper.__main__:run"
|
|
|
|
]
|
|
|
|
},
|
2023-08-08 10:03:38 +03:00
|
|
|
install_requires=["PyGObject"],
|
2023-08-08 06:44:27 +03:00
|
|
|
version=version,
|
2023-10-02 13:53:19 +03:00
|
|
|
python_requires='>3.9',
|
2023-08-08 06:44:27 +03:00
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
2023-08-08 10:03:38 +03:00
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
2023-08-08 06:44:27 +03:00
|
|
|
"Topic :: Utilities",
|
|
|
|
],
|
|
|
|
packages=["waypaper"],
|
2023-10-02 13:53:19 +03:00
|
|
|
package_data={
|
|
|
|
'waypaper': ['data/waypaper.desktop', 'data/waypaper.svg']
|
|
|
|
},
|
2023-08-08 06:44:27 +03:00
|
|
|
include_package_data=True,
|
|
|
|
)
|