-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (33 loc) · 1.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import setuptools
from git_improved.constants import GITHUB_ICONS_URLS
def load_long_description():
with open('README.md') as readme:
content = readme.read()
for icon, icon_url in GITHUB_ICONS_URLS.items():
content = content.replace(icon, f'<img style="max-height: 1.5em" src="{icon_url}">')
return content
setuptools.setup(
name='git-improved',
description='Add commands to simplify release and publish operation from Git CLI.',
version='0.1.5',
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'git-setup=git_improved.commands.setup:SetupCommand',
'git-template=git_improved.commands.template:TemplateCommand',
'git-wip=git_improved.commands.wip:WipCommand',
'git-save=git_improved.commands.save:SaveCommand',
'git-cancel=git_improved.commands.cancel:CancelCommand',
'git-done=git_improved.commands.done:DoneCommand',
'git-release=git_improved.commands.release:ReleaseCommand',
'git-unrelease=git_improved.commands.unrelease:UnreleaseCommand'
]
},
install_requires=[
'bump2version',
'jinja2',
'requests'
],
long_description=load_long_description(),
long_description_content_type="text/markdown"
)