You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match = re.search(r'^version_number\s*=\s*[\'"]([^\'"]+)[\'"]', line)
if match:
return match.group(1)
raise RuntimeError("Unable to find version string in catgit.py! Make sure you have the git repo cloned properly from: https://github.com/FlyingFathead/catgit")
setup(
name='catgit',
version=get_version(), # Use the extracted version
author='FlyingFathead',
author_email='flyingfathead@protonmail.com',
packages=find_packages(),
package_data={
'catgit': ['config.ini'], # Include config.ini within the catgit package
},
entry_points={
'console_scripts': [
'catgit = catgit.catgit:main'
]
},
url='https://github.com/FlyingFathead/catgit',
license='LICENSE',
description='A utility to display Git repository contents in a terminal or an editor.',