diff --git a/oaiharvest/__init__.py b/oaiharvest/__init__.py index cfe5211..7258b32 100644 --- a/oaiharvest/__init__.py +++ b/oaiharvest/__init__.py @@ -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 diff --git a/oaiharvest/test/__init__.py b/oaiharvest/test/__init__.py index fcffb8a..ed89f7a 100644 --- a/oaiharvest/test/__init__.py +++ b/oaiharvest/test/__init__.py @@ -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"