Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
/ pycosio Public archive

Commit

Permalink
1.3.3: Fix Packaging issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Jul 3, 2019
1 parent 62b5714 commit 89d6576
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

1.3.3 (2019/05)
---------------

Fixes:

* Fix package including `tests/storage_package` subdirectory due to packaging
toolchain issue.

1.3.2 (2019/05)
---------------

Expand Down
2 changes: 1 addition & 1 deletion pycosio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
__version__ = '1.3.1'
__version__ = '1.3.3'
__copyright__ = "Copyright 2018 Accelize"
__licence__ = "Apache 2.0"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'swift': ['python-swiftclient[keystone]>=3.3.0']},
setup_requires=['setuptools'],
tests_require=['pytest'],
packages=find_packages(exclude=['docs', 'tests']),
packages=find_packages(exclude=['docs', 'tests', 'tests_storage_package']),
zip_safe=True, command_options={})

# Gets package __version__ from package
Expand Down
2 changes: 1 addition & 1 deletion tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ def test_mock_storage():
"""
Run test sequence on the mocked storage.
"""
from tests.storage_package.mock import (
from tests_storage_package.mock import (
MockSystem, MockBufferedIO, MockRawIO)

# Init mocked system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ def init_test_storage():
Initialize test storage.
"""
from pycosio._core.storage_manager import STORAGE_PACKAGE
if not __package__ in STORAGE_PACKAGE:
if __package__ not in STORAGE_PACKAGE:
STORAGE_PACKAGE.append(__package__)
File renamed without changes.

0 comments on commit 89d6576

Please sign in to comment.