Skip to content

Commit

Permalink
add VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Feb 29, 2020
1 parent 30576f9 commit 514c835
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ venv.bak/
.mypy_cache/

t.*
dist/
t/
dist/
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.3
28 changes: 16 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
""" setup """
''' setup '''

import setuptools

with open("README.md", "r") as fh:
with open('README.md', 'r') as fh:
long_description = fh.read()

version = '0.0.0'
with open('VERSION', 'r') as fh:
version = fh.readline()

setuptools.setup(
name="wechaty",
version="0.0.2",
author="Huan LI",
author_email="[email protected]",
description="Wechaty is a Bot SDK for Wechat Personal Account",
name='wechaty',
version=version,
author='Huan LI (李卓桓)',
author_email='[email protected]',
description='Wechaty is a Bot SDK for Wechat Personal Account',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Chatie/python-wechaty",
long_description_content_type='text/markdown',
url='https://github.com/Chatie/python-wechaty',
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
)

0 comments on commit 514c835

Please sign in to comment.