Skip to content

Commit

Permalink
Add version metadata at module level for PEP 396
Browse files Browse the repository at this point in the history
Resolves #22
  • Loading branch information
willtrnr committed Jan 3, 2020
1 parent 256d67d commit 25b8881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyxlsb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from .workbook import Workbook
from .worksheet import Worksheet

__version__ = '1.0.6'

def open_workbook(name, debug=False):
from zipfile import ZipFile
zf = ZipFile(name, 'r')
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os.path
from setuptools import setup
from subprocess import Popen, PIPE
from pyxlsb import __version__

# Get a handy base dir
project_dir = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -16,7 +17,7 @@

setup(
name='pyxlsb',
version='1.0.6',
version=__version__,

description='Excel 2007-2010 Binary Workbook (xlsb) parser',
long_description=README,
Expand Down

0 comments on commit 25b8881

Please sign in to comment.