comparison setup.py @ 416:ee722faa3e93

install (setup.py): updated setup.py for Python 3
author Goffi <goffi@goffi.org>
date Sun, 25 Aug 2019 12:26:35 +0200
parents ccb2a22ea0fc
children 36c9fb677f1d
comparison
equal deleted inserted replaced
415:4179ed660a85 416:ee722faa3e93
48 48
49 return {'version_scheme': version_scheme, 49 return {'version_scheme': version_scheme,
50 'local_scheme': local_scheme} 50 'local_scheme': local_scheme}
51 51
52 52
53 setup(name=NAME, 53 setup(
54 version=VERSION, 54 name=NAME,
55 description='XMPP Publish-Subscribe Service Component, build for the need of ' 55 version=VERSION,
56 'the « Salut à Toi » project', 56 description="XMPP Publish-Subscribe Service Component, build for the need of "
57 author='Association « Salut à Toi »', 57 "the « Salut à Toi » project",
58 author_email='goffi@goffi.org', 58 author="Association « Salut à Toi »",
59 url='https://salut-a-toi.org', 59 author_email="goffi@goffi.org",
60 classifiers=['Development Status :: 5 - Production/Stable', 60 url="https://salut-a-toi.org",
61 'Framework :: Twisted', 61 classifiers=[
62 'License :: OSI Approved :: GNU Affero General Public License v3 ' 62 "Programming Language :: Python :: 3 :: Only",
63 'or later (AGPLv3+)', 63 "Programming Language :: Python :: 3.6",
64 'Operating System :: POSIX :: Linux', 64 "Programming Language :: Python :: 3.7",
65 'Topic :: Communications :: Chat'], 65 "Development Status :: 5 - Production/Stable",
66 packages=find_packages() + ['twisted.plugins'], 66 "Framework :: Twisted",
67 data_files=[(os.path.join('share/doc', NAME), 67 "License :: OSI Approved :: GNU Affero General Public License v3 "
68 ['CHANGELOG', 'COPYING', 'README']), 68 "or later (AGPLv3+)",
69 ], 69 "Operating System :: POSIX :: Linux",
70 zip_safe=True, 70 "Topic :: Communications :: Chat"
71 setup_requires=['setuptools_scm'] if is_dev_version else [], 71 ],
72 use_scm_version=sat_dev_version if is_dev_version else False, 72 packages=find_packages() + ["twisted.plugins"],
73 install_requires=install_requires, 73 data_files=[(os.path.join("share/doc", NAME),
74 package_data={'sat_pubsub': ['VERSION']}, 74 ["CHANGELOG", "COPYING", "README"]),
75 python_requires='>=3.6', 75 ],
76 ) 76 zip_safe=True,
77 setup_requires=["setuptools_scm"] if is_dev_version else [],
78 use_scm_version=sat_dev_version if is_dev_version else False,
79 install_requires=install_requires,
80 package_data={"sat_pubsub": ["VERSION"]},
81 python_requires=">=3.6",
82 )