Skip to content

Commit 1ce8870

Browse files
committed
Fix setuptools deprecation warnings in setup.py
1 parent 2913d26 commit 1ce8870

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os.path
44
import re
55

6-
from setuptools import find_packages, setup
6+
from setuptools import find_namespace_packages, setup
77

88
here = os.path.abspath(os.path.dirname(__file__))
99

@@ -44,22 +44,21 @@ def find_version(*file_paths):
4444
author='Amazon Web Services',
4545
url='https://github.com/boto/botocore',
4646
scripts=[],
47-
packages=find_packages(exclude=['tests*']),
47+
packages=find_namespace_packages(exclude=['tests*']),
4848
package_data={
4949
'botocore': ['cacert.pem', 'data/*.json', 'data/*/*.json'],
5050
'botocore.vendored.requests': ['*.pem'],
5151
},
5252
include_package_data=True,
5353
install_requires=requires,
5454
extras_require=extras_require,
55-
license="Apache License 2.0",
55+
license="Apache-2.0",
5656
python_requires=">= 3.9",
5757
classifiers=[
5858
'Development Status :: 5 - Production/Stable',
5959
'Intended Audience :: Developers',
6060
'Intended Audience :: System Administrators',
6161
'Natural Language :: English',
62-
'License :: OSI Approved :: Apache Software License',
6362
'Programming Language :: Python',
6463
'Programming Language :: Python :: 3 :: Only',
6564
'Programming Language :: Python :: 3',

0 commit comments

Comments
 (0)