1
-
2
1
import os
3
2
from setuptools import setup , find_packages
4
3
5
- short_desc = "A command-line interface (CLI) utility that can help you easily count code and display detailed results."
4
+ short_desc = "A command-line interface (CLI) utility " \
5
+ "that can help you easily count code lines and display detailed results."
6
+
6
7
7
8
def read_readme (file_name ):
8
9
with open (os .path .join (os .path .dirname (__file__ ), file_name ), encoding = 'utf-8' ) as f :
9
10
return f .read ()
10
11
12
+
11
13
setup (name = 'code-counter' ,
12
14
version = __import__ ('code_counter' ).__version__ ,
13
15
author = "Inno Fang" ,
14
16
15
17
url = 'https://github.com/innofang/code-counter' , # homepage
16
18
project_urls = {
17
- 'Documentation' : 'https://github.com/InnoFang/code-counter/blob/master/README.md' ,
18
- 'Source' : 'https://github.com/InnoFang/code-counter' ,
19
- 'Bug Reports' : 'https://github.com/InnoFang/code-counter/issues' ,
19
+ 'Documentation' : 'https://github.com/InnoFang/code-counter/blob/master/README.md' ,
20
+ 'Source' : 'https://github.com/InnoFang/code-counter' ,
21
+ 'Bug Reports' : 'https://github.com/InnoFang/code-counter/issues' ,
20
22
},
21
23
description = short_desc ,
22
24
long_description = read_readme ('README.md' ),
23
25
packages = find_packages (),
24
26
include_package_data = True ,
25
27
long_description_content_type = "text/markdown" ,
26
28
license = 'Apache License' ,
27
- install_requires = ["matplotlib" , "numpy" ],
28
- python_requires = '>=3.5 ' ,
29
+ install_requires = ["matplotlib" , "numpy" ],
30
+ python_requires = '>=3.6 ' ,
29
31
classifiers = [
30
- 'Development Status :: 4 - Beta' ,
31
- 'Intended Audience :: Developers' ,
32
- 'License :: OSI Approved :: Apache Software License' ,
33
- 'Environment :: Console' ,
34
- 'Topic :: Utilities' ,
35
- 'Programming Language :: Python :: 3' ,
36
- 'Programming Language :: Python :: 3.5 ' ,
37
- 'Programming Language :: Python :: 3.6 ' ,
38
- 'Programming Language :: Python :: 3.7 ' ,
39
- 'Programming Language :: Python :: 3.8 ' ,
40
- 'Programming Language :: Python :: 3.9 ' ,
41
- ],
32
+ 'Development Status :: 4 - Beta' ,
33
+ 'Intended Audience :: Developers' ,
34
+ 'License :: OSI Approved :: Apache Software License' ,
35
+ 'Environment :: Console' ,
36
+ 'Topic :: Utilities' ,
37
+ 'Programming Language :: Python :: 3' ,
38
+ 'Programming Language :: Python :: 3.6 ' ,
39
+ 'Programming Language :: Python :: 3.7 ' ,
40
+ 'Programming Language :: Python :: 3.8 ' ,
41
+ 'Programming Language :: Python :: 3.9 ' ,
42
+ 'Programming Language :: Python :: 3.10 ' ,
43
+ ],
42
44
entry_points = {
43
45
'console_scripts' : [
44
46
'cocnt = code_counter.__main__:main'
45
47
]
46
48
},
47
49
keywords = 'code count line file counter' ,
48
- )
50
+ )
0 commit comments