blob: 7a09f5ef62e77715238bf151b1fcc30d0b3c8641 [file] [log] [blame]
Brett Cannonb98d77c2019-12-06 11:15:03 -08001from io import open
2
Ian Cordasco902a8b42016-08-17 16:25:27 -05003from setuptools import setup
4
5from uritemplate import __version__
Ian Cordascof8180352013-05-14 00:29:17 -04006
7packages = [
8 'uritemplate'
9]
10
Brett Cannon6ef75772019-12-06 11:12:20 -080011with open("README.rst", encoding="utf-8") as file:
Brett Cannonab215b32019-12-02 11:18:45 -080012 readme = file.read()
13
Brett Cannon6ef75772019-12-06 11:12:20 -080014with open("HISTORY.rst", encoding="utf-8") as file:
Brett Cannonab215b32019-12-02 11:18:45 -080015 history = file.read()
16
Ian Cordascof8180352013-05-14 00:29:17 -040017setup(
Ian Cordasco91253e72016-08-20 07:04:57 -050018 name="uritemplate",
Ian Cordascof8180352013-05-14 00:29:17 -040019 version=__version__,
20 description='URI templates',
Brett Cannonab215b32019-12-02 11:18:45 -080021 long_description="\n\n".join([readme, history]),
Brett Cannon09721e82019-12-19 14:11:28 -080022 long_description_content_type="text/x-rst",
Ian Cordasco44c54ca2016-08-18 11:20:35 -050023 license="BSD 3-Clause License or Apache License, Version 2.0",
Ian Stapleton Cordasco6eaef882017-07-26 06:51:25 -050024 author="Ian Stapleton Cordasco",
Ian Cordascof8180352013-05-14 00:29:17 -040025 author_email="graffatcolmingov@gmail.com",
26 url="https://uritemplate.readthedocs.org",
27 packages=packages,
Ian Stapleton Cordasco6eaef882017-07-26 06:51:25 -050028 package_data={'': ['LICENSE', 'LICENSE.APACHE', 'LICENSE.BSD',
29 'AUTHORS.rst']},
Ian Cordascof8180352013-05-14 00:29:17 -040030 include_package_data=True,
Hugobecb8d22018-09-06 16:56:39 +030031 python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
Ian Cordascof8180352013-05-14 00:29:17 -040032 classifiers=[
33 'Development Status :: 5 - Production/Stable',
34 'License :: OSI Approved',
Ian Cordasco07e88132016-08-18 11:03:34 -050035 'License :: OSI Approved :: BSD License',
Ian Cordasco44c54ca2016-08-18 11:20:35 -050036 'License :: OSI Approved :: Apache Software License',
Ian Cordascof8180352013-05-14 00:29:17 -040037 'Intended Audience :: Developers',
38 'Programming Language :: Python',
39 'Programming Language :: Python :: 2',
Ian Cordascof8180352013-05-14 00:29:17 -040040 'Programming Language :: Python :: 2.7',
41 'Programming Language :: Python :: 3',
Ian Cordasco2ecd3032015-10-04 13:47:55 -050042 'Programming Language :: Python :: 3.4',
43 'Programming Language :: Python :: 3.5',
Brett Cannon0a78fbd2017-01-28 11:19:32 -080044 'Programming Language :: Python :: 3.6',
Brett Cannonab215b32019-12-02 11:18:45 -080045 'Programming Language :: Python :: 3.7',
46 'Programming Language :: Python :: 3.8',
Ian Cordascof8180352013-05-14 00:29:17 -040047 'Programming Language :: Python :: Implementation :: CPython',
48 ],
49)