File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Installation and deployment
22setuptools == 38.2.5
33twine == 1.9.1
4- bernardomg.tox-test-command == 1.0.0
4+ bernardomg.tox-test-command == 1.0.1
55
66# Testing
77tox == 2.9.1
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22import ast
33import re
4- import sys
54import io
65from os .path import dirname
76from os .path import join
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 ()))
You can’t perform that action at this time.
0 commit comments