diff --git a/personal_data/__init__.py b/personal_data/__init__.py index c991d5f..64f74e6 100644 --- a/personal_data/__init__.py +++ b/personal_data/__init__.py @@ -16,6 +16,7 @@ import personal_data.fetchers.crunchyroll import personal_data.fetchers.ffxiv_lodestone import personal_data.fetchers.playstation import personal_data.fetchers.psnprofiles +from personal_data._version import __version__ CSV_DIALECT = 'one_true_dialect' csv.register_dialect(CSV_DIALECT, lineterminator='\n', skipinitialspace=True) diff --git a/personal_data/_version.py b/personal_data/_version.py new file mode 100644 index 0000000..b794fd4 --- /dev/null +++ b/personal_data/_version.py @@ -0,0 +1 @@ +__version__ = '0.1.0' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..58f6c75 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +beautifulsoup4 +lxml +requests +requests_cache diff --git a/test/test_util.py b/test/test_util.py index 993c50b..9d2a17e 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -1,2 +1,5 @@ -def test(): - assert True +import personal_data + +def test_version(): + assert personal_data._version.__version__ is not None + assert personal_data.__version__ is not None