2015-10-08 20:15:29 +02:00
|
|
|
#!/usr/bin/env python
|
2018-01-15 17:34:17 +01:00
|
|
|
import codecs
|
|
|
|
import os.path
|
|
|
|
import re
|
2015-10-08 20:15:29 +02:00
|
|
|
|
2022-05-26 00:10:07 +02:00
|
|
|
from setuptools import find_packages, setup
|
2015-10-08 20:15:29 +02:00
|
|
|
|
2018-01-15 17:34:17 +01:00
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
|
|
|
|
|
|
def read(*parts):
|
|
|
|
return codecs.open(os.path.join(here, *parts), 'r').read()
|
|
|
|
|
|
|
|
|
|
|
|
def find_version(*file_paths):
|
|
|
|
version_file = read(*file_paths)
|
2022-05-26 00:10:07 +02:00
|
|
|
version_match = re.search(
|
|
|
|
r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M
|
|
|
|
)
|
2018-01-15 17:34:17 +01:00
|
|
|
if version_match:
|
|
|
|
return version_match.group(1)
|
|
|
|
raise RuntimeError("Unable to find version string.")
|
|
|
|
|
|
|
|
|
2020-02-11 03:48:00 +01:00
|
|
|
requires = [
|
2022-12-12 17:14:19 +01:00
|
|
|
'jmespath>=0.7.1,<2.0.0',
|
2020-02-11 03:48:00 +01:00
|
|
|
'python-dateutil>=2.1,<3.0.0',
|
2021-08-18 17:45:16 +02:00
|
|
|
'urllib3>=1.25.4,<1.27',
|
2020-02-11 03:48:00 +01:00
|
|
|
]
|
2015-10-08 20:15:29 +02:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='botocore',
|
2018-01-15 17:34:17 +01:00
|
|
|
version=find_version("botocore", "__init__.py"),
|
2015-10-08 20:15:29 +02:00
|
|
|
description='Low-level, data-driven core of boto 3.',
|
|
|
|
long_description=open('README.rst').read(),
|
2015-11-24 12:34:53 +01:00
|
|
|
author='Amazon Web Services',
|
2015-10-08 20:15:29 +02:00
|
|
|
url='https://github.com/boto/botocore',
|
|
|
|
scripts=[],
|
|
|
|
packages=find_packages(exclude=['tests*']),
|
2022-05-26 00:10:07 +02:00
|
|
|
package_data={
|
|
|
|
'botocore': ['cacert.pem', 'data/*.json', 'data/*/*.json'],
|
|
|
|
'botocore.vendored.requests': ['*.pem'],
|
|
|
|
},
|
2015-10-08 20:15:29 +02:00
|
|
|
include_package_data=True,
|
|
|
|
install_requires=requires,
|
2015-11-24 12:34:53 +01:00
|
|
|
license="Apache License 2.0",
|
2022-12-12 17:14:19 +01:00
|
|
|
python_requires=">= 3.7",
|
2019-02-27 08:30:11 +01:00
|
|
|
classifiers=[
|
2015-11-24 12:34:53 +01:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2015-10-08 20:15:29 +02:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'Natural Language :: English',
|
2015-10-08 20:15:31 +02:00
|
|
|
'License :: OSI Approved :: Apache Software License',
|
2015-10-08 20:15:29 +02:00
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 3',
|
2018-08-16 08:01:54 +02:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-02-11 03:48:00 +01:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2021-10-04 18:33:37 +02:00
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Programming Language :: Python :: 3.10',
|
2022-12-12 17:14:19 +01:00
|
|
|
'Programming Language :: Python :: 3.11',
|
2021-08-18 17:45:16 +02:00
|
|
|
],
|
2015-10-08 20:15:29 +02:00
|
|
|
)
|