Skip to content

Commit 764e14c

Browse files
committed
Added version info
1 parent b1cb65d commit 764e14c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

python_actr/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
from .logger import log, finished
44
from .runner import run, run_with
55
from .actr import *
6-
from .display import display
6+
from .display import display
7+
from . import version

python_actr/version.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name = "python_actr"
2+
version_info = (1, 9, 0)
3+
dev = False
4+
version = '.'.join([str(x) for x in version_info])
5+
if dev:
6+
version = version + 'dev'

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
from setuptools import setup
22

3+
import python_actr
4+
35
setup(
46
name='python_actr',
57
packages=['python_actr'],
6-
version='1.9.0',
8+
version=python_actr.version.version,
79
author='Carleton Cognitive Modelling Lab',
810
description='Python implementation of the ACT-R cognitive architecture',
911
url='https://github.com/CarletonCognitiveModelingLab/python_actr',

0 commit comments

Comments
 (0)