Skip to content

Commit bd58136

Browse files
committed
fix: dependencies
1 parent f2edfa7 commit bd58136

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

excel2xx/config.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import toml
2+
3+
class Config:
4+
def __init__(self, fpath):
5+
self.__data = toml.load(fpath)
6+
pass
7+
8+
@property
9+
def validator_dir(self):
10+
return self.__data["validator_dir"]
11+
12+
@property
13+
def data_dir(self):
14+
return self.__data["data_dir"]

excel2xx/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"""Export data from Excel file.
33
44
Usage:
5-
excel2xx.py json <excel> [options]
6-
excel2xx.py msgpack <excel> [options]
5+
excel2xx.py json <excel> -o FILE -- [options]
6+
excel2xx.py msgpack <excel> -o FILE [options]
77
excel2xx.py mako <excel> --template=FILE [options]
88
excel2xx.py build --from=DIR --to=DIR [options]
99
excel2xx.py codegen --from=DIR --to=GLOB [options]

excel2xx/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.11.6"
1+
VERSION = "0.11.7"

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
xlrd == 1.2.*
22
openpyxl == 3.1.*
33
docopt >= 0.6.0
4-
mako == 1.2.*
4+
mako >= 1.3.0
55
msgpack-python >= 0.4.8
66
colorama >= 0.4.6
7+
toml >= 0.10.0

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _open(fname):
2323

2424
setup(
2525
name="excel2xx",
26-
version="0.11.6",
26+
version="0.11.7",
2727
url="https://github.com/cupen/excel2xx",
2828
license="WTFPL",
2929
author="cupen",
@@ -52,6 +52,8 @@ def _open(fname):
5252
"Programming Language :: Python :: 3.12",
5353
"Programming Language :: Python :: Implementation :: CPython",
5454
"Topic :: Software Development :: Libraries :: Python Modules",
55+
"Topic :: Software Development :: Compilers",
56+
"Topic :: Software Development :: Code Generators",
5557
],
5658
packages=find_packages(),
5759
)

0 commit comments

Comments
 (0)