1
1
# encoding: utf-8
2
- from setuptools import setup
2
+ try :
3
+ from setuptools import setup
4
+ except ImportError :
5
+ # For Python 3.12+, setuptools is no longer in stdlib
6
+ import sys
7
+ print ("Error: setuptools is required but not found." )
8
+ print ("Please install setuptools package using:" )
9
+ print ("pip install setuptools" )
10
+ sys .exit (1 )
3
11
4
12
5
13
def get_description ():
@@ -20,12 +28,17 @@ def get_description():
20
28
include_package_data = True ,
21
29
zip_safe = False ,
22
30
platforms = 'any' ,
23
- install_requires = [ 'Flask>=0.11' ] ,
31
+ python_requires = '>=3.8' ,
24
32
classifiers = [
25
33
'Environment :: Web Environment' ,
26
34
'Intended Audience :: Developers' ,
27
35
'Operating System :: OS Independent' ,
28
- 'Programming Language :: Python' ,
36
+ 'Programming Language :: Python :: 3' ,
37
+ 'Programming Language :: Python :: 3.8' ,
38
+ 'Programming Language :: Python :: 3.9' ,
39
+ 'Programming Language :: Python :: 3.10' ,
40
+ 'Programming Language :: Python :: 3.11' ,
41
+ 'Programming Language :: Python :: 3.12' ,
29
42
'Topic :: Internet :: WWW/HTTP :: Dynamic Content' ,
30
43
'Topic :: Software Development :: Libraries :: Python Modules'
31
44
]
0 commit comments