From: Oleg Broytman Date: Fri, 26 Jul 2024 01:37:43 +0000 (+0300) Subject: Add `setup.cfg` and `setup.py` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8bebf370606f29a2b7e4d6b7c418c98eefbbdf6a;p=xsetbg.git Add `setup.cfg` and `setup.py` Mostly to list required and optional dependencies. --- diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6b02812 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,14 @@ +[bdist_wheel] +universal = 1 + +[easy_install] +optimize = 2 + +[egg_info] +tag_build = +tag_date = 0 +tag_svn_revision = 0 + +[flake8] +exclude = .git + diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..8ec3e4c --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +#! /usr/bin/env python + +from setuptools import setup + +setup( + name = "xsetbg", + version = "5.1.2", + description = "XSetBg - set X background", + long_description=open('README.txt', 'r').read(), + long_description_content_type="text/plain", + author = "Oleg Broytman", + author_email = "phd@phdru.name", + license = "GPL", + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: No Input/Output (Daemon)', + 'Environment :: X11 Applications', + 'Intended Audience :: End Users/Desktop', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + ], + platforms = "POSIX", + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + install_requires=[ + 'SQLObject>=2.2.1; python_version=="2.7"', + 'SQLObject>=3.0.0; python_version>="3.4"', + 'm_lib.defenc>=1.1', + ], +)