Skip to content

Commit

Permalink
Fix from oaiharvest import harvest
Browse files Browse the repository at this point in the history
Fixes #21
  • Loading branch information
bloomonkey committed Aug 20, 2018
1 parent b6c7eac commit 3d10c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions oaiharvest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from pkg_resources import get_distribution, DistributionNotFound

__name__ = "OAI-PMH Harvester"
__package = "oaiharvest"
__name__ = "oaiharvest"
__package__ = "oaiharvest"
__all__ = ['exceptions', 'harvest', 'metadata', 'registry']
try:
__version__ = get_distribution(__package).version
__version__ = get_distribution(__package__).version
except DistributionNotFound:
# package is not installed
pass
8 changes: 1 addition & 7 deletions oaiharvest/test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
# -*- coding: utf-8 -*-
"""TODO: Document __init__.py here.
Copyright (C) 2017, Auto Trader UK
Created 19. Apr 2017 17:42
Creator: john.harrison
"""
__package__ = "oaiharvest"

0 comments on commit 3d10c4d

Please sign in to comment.