Skip to content

Commit dcebe0a

Browse files
committed
🔧 update version and some setup config
1 parent b6d867b commit dcebe0a

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

code_counter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0-alpha"
1+
__version__ = "1.0.0"

setup.py

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,50 @@
1-
21
import os
32
from 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

78
def 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+
1113
setup(name='code-counter',
1214
version=__import__('code_counter').__version__,
1315
author="Inno Fang",
1416
author_email="[email protected]",
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

Comments
 (0)