Skip to content

Commit 50ec8ac

Browse files
author
Fatpandac
committed
🌱 Add setup.py
1 parent d0a8486 commit 50ec8ac

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

setup.py

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""
2+
FileName: setup.py
3+
Author: Fatpandac
4+
Create: 2021/10/07
5+
Description: Setup upgist.
6+
"""
7+
8+
from setuptools import setup, find_packages
9+
10+
setup(name='upgist',
11+
version='0.0.2',
12+
description='Upgist is a gist cli tool.',
13+
author='Fatpandac',
14+
author_email='[email protected]',
15+
license='MIT',
16+
py_modules=['upgist'],
17+
packages=find_packages(),
18+
entry_points = """
19+
[console_scripts]
20+
upgist = upgist:main
21+
"""
22+
)

upgist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def SaveToken(token):
136136
def PrintVersion(ctx,param,value):
137137
if not value or ctx.resilient_parsing:
138138
return
139-
print('Version 0.0.1')
139+
print('Version 0.0.2')
140140
ctx.exit()
141141

142142
def Main_Options(f):

0 commit comments

Comments
 (0)