mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* Update deps + allow Python 3.9 * Add in updates from Jack's branch * Fix multiple target for cross-reference warnings * Update a few more Python 3.8 occurrences * Bump further * Don't install tox in CodeQL environment * Bump Python version in docs to 3.9.7 * more bumps * Add missing pin * Stop using the deprecated distro.linux_distribution() * Suppress deprecation warning * Fix OpenSUSE Leap instructions * Drop Fedora 32 * Add Python 3.10-dev to CI * meh Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
11 lines
295 B
Python
11 lines
295 B
Python
import os
|
|
import sys
|
|
from setuptools import setup
|
|
|
|
if os.getenv("TOX_RED", False) and sys.version_info >= (3, 10):
|
|
# We want to be able to test Python versions that we do not support yet.
|
|
setup(python_requires=">=3.8.1")
|
|
else:
|
|
# Metadata and options defined in setup.cfg
|
|
setup()
|