Skip to content

Commit 2396520

Browse files
committed
Updated setup.py for newer python versions
1 parent ee46526 commit 2396520

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

setup.py

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from setuptools import setup, find_packages
22
import os
3-
import glob
43
import io
54
from ct.version import __version__
65

@@ -13,11 +12,11 @@
1312
setup(
1413
name="compiletools",
1514
version=__version__,
16-
setup_requires=["setuptools_scm"],
1715
description="Tools to make compiling C/C++ projects easy",
1816
long_description=long_description,
17+
long_description_content_type="text/x-rst",
1918
url="http://zomojo.github.io/compiletools/",
20-
python_requires=">=3.6",
19+
python_requires=">=3.9", # Updated minimum Python version
2120
author="Zomojo Pty Ltd",
2221
author_email="drgeoffathome@gmail.com",
2322
license="GPLv3+",
@@ -27,16 +26,26 @@
2726
"Topic :: Software Development :: Build Tools",
2827
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
2928
"Programming Language :: Python :: 3",
29+
"Programming Language :: Python :: 3.9",
30+
"Programming Language :: Python :: 3.10",
31+
"Programming Language :: Python :: 3.11",
32+
"Programming Language :: Python :: 3.12",
33+
"Programming Language :: Python :: 3.13"
3034
],
3135
keywords="c++ make development",
3236
packages=find_packages(),
3337
package_data={"":[ff for ff in os.listdir("ct") if ff.startswith("README")]},
3438
include_package_data=True,
35-
install_requires=["configargparse", "appdirs", "psutil", "rich", "rich_rst"],
39+
install_requires=[
40+
"configargparse>=1.5.3",
41+
"appdirs>=1.4.4",
42+
"psutil>=5.9.0",
43+
"rich>=12.0.0",
44+
"rich_rst>=1.1.7",
45+
],
3646
test_suite="ct",
3747
scripts=[ff for ff in os.listdir(".") if ff.startswith("ct-")],
3848
download_url="https://github.com/Zomojo/compiletools/archive/v"
3949
+ __version__
4050
+ ".tar.gz",
4151
)
42-

0 commit comments

Comments
 (0)