# HG changeset patch # User Goffi # Date 1566728795 -7200 # Node ID ee722faa3e93bef85b426cba17a00ac5dfa10d0e # Parent 4179ed660a85b917923f6e3ab44cb92974a0d1df install (setup.py): updated setup.py for Python 3 diff -r 4179ed660a85 -r ee722faa3e93 setup.py --- a/setup.py Fri Aug 23 17:27:26 2019 +0200 +++ b/setup.py Sun Aug 25 12:26:35 2019 +0200 @@ -50,27 +50,33 @@ 'local_scheme': local_scheme} -setup(name=NAME, - version=VERSION, - description='XMPP Publish-Subscribe Service Component, build for the need of ' - 'the « Salut à Toi » project', - author='Association « Salut à Toi »', - author_email='goffi@goffi.org', - url='https://salut-a-toi.org', - classifiers=['Development Status :: 5 - Production/Stable', - 'Framework :: Twisted', - 'License :: OSI Approved :: GNU Affero General Public License v3 ' - 'or later (AGPLv3+)', - 'Operating System :: POSIX :: Linux', - 'Topic :: Communications :: Chat'], - packages=find_packages() + ['twisted.plugins'], - data_files=[(os.path.join('share/doc', NAME), - ['CHANGELOG', 'COPYING', 'README']), - ], - zip_safe=True, - setup_requires=['setuptools_scm'] if is_dev_version else [], - use_scm_version=sat_dev_version if is_dev_version else False, - install_requires=install_requires, - package_data={'sat_pubsub': ['VERSION']}, - python_requires='>=3.6', - ) +setup( + name=NAME, + version=VERSION, + description="XMPP Publish-Subscribe Service Component, build for the need of " + "the « Salut à Toi » project", + author="Association « Salut à Toi »", + author_email="goffi@goffi.org", + url="https://salut-a-toi.org", + classifiers=[ + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Development Status :: 5 - Production/Stable", + "Framework :: Twisted", + "License :: OSI Approved :: GNU Affero General Public License v3 " + "or later (AGPLv3+)", + "Operating System :: POSIX :: Linux", + "Topic :: Communications :: Chat" + ], + packages=find_packages() + ["twisted.plugins"], + data_files=[(os.path.join("share/doc", NAME), + ["CHANGELOG", "COPYING", "README"]), + ], + zip_safe=True, + setup_requires=["setuptools_scm"] if is_dev_version else [], + use_scm_version=sat_dev_version if is_dev_version else False, + install_requires=install_requires, + package_data={"sat_pubsub": ["VERSION"]}, + python_requires=">=3.6", +)