Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Commit 820eaee

Browse files
committed
update setup.py
1 parent d733dfc commit 820eaee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
import catsup
44

5+
version = catsup.__version__
6+
long_description = open('README.rst').read().replace("latest", "v%s" % version)
7+
58
setup(
69
name='catsup',
7-
version=catsup.__version__,
10+
version=version,
811
author='whtsky',
912
author_email='[email protected]',
1013
url='https://github.com/whtsky/catsup',
1114
packages=find_packages(),
1215
description='Catsup: a lightweight static site generator',
13-
long_description=open('README.rst').read(),
16+
long_description=long_description,
1417
entry_points={
1518
'console_scripts': ['catsup= catsup.cli:main'],
1619
},

0 commit comments

Comments
 (0)