Skip to content

Commit 438f657

Browse files
committed
Update version to 1.3.0
1 parent c6ea93b commit 438f657

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

setup.py

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,29 @@
1414
except ImportError:
1515
from distutils.core import setup
1616

17+
version = '1.3.0'
18+
19+
20+
with open('README.md') as f:
21+
long_description = f.read()
22+
1723

1824
setup(
1925
name='telegraph',
20-
version='1.2.1',
26+
version=version,
27+
2128
author='python273',
22-
author_email='whoami@python273.pw',
29+
30+
author_email='telegraph@python273.pw',
2331
url='https://github.com/python273/telegraph',
32+
2433
description='Telegraph API wrapper',
25-
download_url='https://github.com/python273/telegraph/archive/master.zip',
34+
long_description=long_description,
35+
long_description_content_type='text/markdown',
36+
37+
download_url='https://github.com/python273/telegraph/archive/v{}.zip'.format(
38+
version
39+
),
2640
license='MIT',
2741

2842
packages=['telegraph'],
@@ -38,6 +52,7 @@
3852
'Programming Language :: Python :: 3.4',
3953
'Programming Language :: Python :: 3.5',
4054
'Programming Language :: Python :: 3.6',
55+
'Programming Language :: Python :: 3.7',
4156
'Programming Language :: Python :: Implementation :: PyPy',
4257
'Programming Language :: Python :: Implementation :: CPython',
4358
]

telegraph/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
@contact: https://python273.pw
66
@license MIT License, see LICENSE file
77
8-
Copyright (C) 2016
8+
Copyright (C) 2018
99
"""
1010

1111
__author__ = 'python273'
12-
__version__ = '1.2.1'
12+
__version__ = '1.3.0'
1313

1414
from .api import Telegraph, TelegraphException
1515
from .upload import upload_file

0 commit comments

Comments
 (0)