Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
daemon committed Nov 12, 2022
1 parent 0f7b809 commit b97c35f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions daam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from ._version import *
from .hook import *
from .trace import *
from .utils import *
Expand Down
1 change: 1 addition & 0 deletions daam/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.0.3'
1 change: 1 addition & 0 deletions daam/run/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def main():
parser.add_argument('--seed', '-s', type=int, default=0)
parser.add_argument('--gen-limit', type=int, default=1000)
parser.add_argument('--template', type=str, default='{numeral} {noun}')
parser.add_argument('--scramble-unreal', action='store_true')
parser.add_argument('--template-data-file', '-tdf', type=str, default='template.tsv')
parser.add_argument('--regenerate', action='store_true')
args = parser.parse_args()
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ spacy
gradio
ftfy
transformers
pandas
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name='daam',
version=open('version.txt').read(),
version=eval(open('daam/_version.py').read().strip().split('=')[1]),
author='Raphael Tang',
license='MIT',
url='https://github.com/castorini/daam',
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit b97c35f

Please sign in to comment.