Cleanup py27 support
Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete sections from setup.cfg: * Wheel is not needed for python 3 only repo * Some other sections are obsolete - Update classifiers - Update requirements, no need for python_version anymore Change-Id: I0dbb13d555eb473916ba585c62a0f7433d15afed
This commit is contained in:
parent
21e4e3455a
commit
bfbaea9749
@ -33,7 +33,6 @@ greenlet==0.4.13
|
||||
hacking==0.12.0
|
||||
idna==2.6
|
||||
imagesize==1.0.0
|
||||
ipaddress==1.0.17
|
||||
iso8601==0.1.12
|
||||
itsdangerous==0.24
|
||||
Jinja2==2.10
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
Babel!=2.4.0,>=2.3.4 # BSD
|
||||
Flask!=0.11,>=0.10 # BSD
|
||||
ipaddress>=1.0.17;python_version<'3.3' # PSF
|
||||
jsonschema>=2.6.0 # MIT
|
||||
kuryr-lib>=0.5.0 # Apache-2.0
|
||||
neutron-lib>=1.13.0 # Apache-2.0
|
||||
|
15
setup.cfg
15
setup.cfg
@ -6,6 +6,7 @@ description-file =
|
||||
author = OpenStack
|
||||
author-email = openstack-discuss@lists.openstack.org
|
||||
home-page = https://docs.openstack.org/kuryr-libnetwork/latest/
|
||||
python-requires = >=3.6
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -13,13 +14,12 @@ classifier =
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: Implementation :: CPython
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[entry_points]
|
||||
oslo.config.opts =
|
||||
kuryr_libnetwork = kuryr_libnetwork.opts:list_kuryr_libnetwork_opts
|
||||
@ -33,15 +33,6 @@ packages =
|
||||
data_files =
|
||||
/usr/lib/docker/plugins/kuryr = etc/kuryr.spec
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
warning-is-error = 1
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[compile_catalog]
|
||||
directory = kuryr_libnetwork/locale
|
||||
domain = kuryr_libnetwork
|
||||
|
9
setup.py
9
setup.py
@ -13,17 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
||||
import setuptools
|
||||
|
||||
# In python < 2.7.4, a lazy loading of package `pbr` will break
|
||||
# setuptools if some other modules registered functions in `atexit`.
|
||||
# solution from: http://bugs.python.org/issue15881#msg170215
|
||||
try:
|
||||
import multiprocessing # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr>=2.0.0'],
|
||||
pbr=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user