1-
21import os
32from setuptools import setup , find_packages
43
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+
67
78def read_readme (file_name ):
89 with open (os .path .join (os .path .dirname (__file__ ), file_name ), encoding = 'utf-8' ) as f :
910 return f .read ()
1011
12+
1113setup (name = 'code-counter' ,
1214 version = __import__ ('code_counter' ).__version__ ,
1315 author = "Inno Fang" ,
1416 author_email = "innofang@yeah.net" ,
1517 url = 'https://github.com/innofang/code-counter' , # homepage
1618 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' ,
2022 },
2123 description = short_desc ,
2224 long_description = read_readme ('README.md' ),
2325 packages = find_packages (),
2426 include_package_data = True ,
2527 long_description_content_type = "text/markdown" ,
2628 license = 'Apache License' ,
27- install_requires = ["matplotlib" , "numpy" ],
28- python_requires = '>=3.5 ' ,
29+ install_requires = ["matplotlib" , "numpy" ],
30+ python_requires = '>=3.6 ' ,
2931 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+ ],
4244 entry_points = {
4345 'console_scripts' : [
4446 'cocnt = code_counter.__main__:main'
4547 ]
4648 },
4749 keywords = 'code count line file counter' ,
48- )
50+ )
0 commit comments