Skip to content

Commit 356484a

Browse files
committed
Updated test command
1 parent cbc04c7 commit 356484a

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installation and deployment
22
setuptools==38.2.5
33
twine==1.9.1
4-
bernardomg.tox-test-command==1.0.0
4+
bernardomg.tox-test-command==1.0.1
55

66
# Testing
77
tox==2.9.1

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import ast
33
import re
4-
import sys
54
import io
65
from os.path import dirname
76
from os.path import join
@@ -19,7 +18,7 @@
1918
__license__ = 'MIT'
2019

2120
# Source package
22-
_source_package = 'dice_notation'
21+
_source_package = 'dice_notation/'
2322

2423
# Regular expression for the version
2524
_version_re = re.compile(r'__version__\s+=\s+(.*)')
@@ -37,7 +36,7 @@ def read(*names, **kwargs):
3736

3837

3938
# Gets the version for the source folder __init__.py file
40-
with open(_source_package + '/__init__.py', 'rb', encoding='utf-8') as f:
39+
with open(_source_package + '__init__.py', 'rb', encoding='utf-8') as f:
4140
version_lib = f.read()
4241
version_lib = _version_re.search(version_lib).group(1)
4342
version_lib = str(ast.literal_eval(version_lib.rstrip()))

0 commit comments

Comments
 (0)