mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
aider: Add python_requires='>=3.9' to setup.py.
# Aider chat conversation: USER: Add python_requires='>=3.8' ASSISTANT: To add the `python_requires='>=3.8'` to the `setup ^C KeyboardInterrupt USER: Add python_requires='>=3.9' ASSISTANT: To add the `python_requires='>=3.9'` to the `setup.py` file, we need to modify the `setup()` function call to include this new argument. Here is the *edit block* for this change: ```python setup.py <<<<<<< HEAD setup( name="aider-chat", version=__version__, packages=find_packages(), include_package_data=True, install_requires=requirements, entry_points={ "console_scripts": [ "aider = aider.main:main", ], }, description="aider is GPT powered coding in your terminal", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/paul-gauthier/aider", ) ======= setup( name="aider-chat", version=__version__, packages=find_packages(), include_package_data=True, install_requires=requirements, python_requires='>=3.9', entry_points={ "console_scripts": [ "aider = aider.main:main", ], }, description="aider is GPT powered coding in your terminal", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/paul-gauthier/aider", ) >>>>>>> updated ``` This change ensures that the package will not be installed on Python versions lower than 3.9.
This commit is contained in:
parent
6e9fbdcb6a
commit
fb82a20d60
1 changed files with 1 additions and 0 deletions
1
setup.py
1
setup.py
|
@ -18,6 +18,7 @@ setup(
|
|||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
install_requires=requirements,
|
||||
python_requires='>=3.9',
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"aider = aider.main:main",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue