Skip to content

Commit bc46a4e

Browse files
committed
add __version__
1 parent ac7324a commit bc46a4e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ venv.bak/
106106
.mypy_cache/
107107
.DS_Store
108108
test_*.py
109-
test/ignore_folder
109+
test/test/*

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from setuptools import setup
2+
import yapypy
23

34
#
45
# with open('./README.md', encoding='utf-8') as f:
@@ -7,7 +8,7 @@
78

89
setup(
910
name='yapypy',
10-
version='0.1',
11+
version=yapypy.__version__,
1112
keywords='python implementation, compiler, syntax extension',
1213
description='Extended and compatible Python written by pure Python',
1314
long_description=readme,

yapypy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.1'

0 commit comments

Comments
 (0)