Skip to content

Commit 1c7347c

Browse files
committed
setup pypl readme(0.9.4)
1 parent 29c2aa0 commit 1c7347c

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include README.md
2+
include LICENSE
3+
recursive-include codestate/static *

codestate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.9.3'
1+
__version__ = '0.9.4'

setup.py

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,39 @@
11
from setuptools import setup, find_packages
2+
from pathlib import Path
3+
4+
readme_path = Path(__file__).parent / "README.md"
5+
long_description = readme_path.read_text(encoding="utf-8") if readme_path.exists() else ""
26

37
setup(
48
name='codestate',
5-
version='0.9.3',
9+
version='0.9.4',
610
description='A CLI tool for codebase statistics and ASCII visualization',
11+
long_description=long_description,
12+
long_description_content_type='text/markdown',
713
author='Henry Lok',
14+
url='https://github.com/HenryLok0/CodeState',
15+
project_urls={
16+
'Source': 'https://github.com/HenryLok0/CodeState',
17+
'Tracker': 'https://github.com/HenryLok0/CodeState/issues',
18+
'Documentation': 'https://github.com/HenryLok0/CodeState#readme',
19+
},
820
packages=find_packages(),
921
install_requires=['pathspec', 'openpyxl'],
1022
entry_points={
1123
'console_scripts': [
12-
'codestate=codestate.cli:main', # This entry point allows users to run `codestate` in the terminal after installation.
24+
'codestate=codestate.cli:main',
1325
],
1426
},
27+
keywords=['code metrics', 'cli', 'ascii', 'static analysis', 'loc', 'complexity'],
28+
classifiers=[
29+
'Programming Language :: Python :: 3',
30+
'License :: OSI Approved :: MIT License',
31+
'Operating System :: OS Independent',
32+
'Topic :: Software Development :: Quality Assurance',
33+
'Topic :: Software Development :: Libraries :: Python Modules',
34+
'Environment :: Console',
35+
'Intended Audience :: Developers',
36+
],
1537
python_requires='>=3.7',
16-
)
38+
include_package_data=True,
39+
)

0 commit comments

Comments
 (0)