diff --git a/setup.py b/setup.py index d3eb68a..5832d0a 100644 --- a/setup.py +++ b/setup.py @@ -42,5 +42,7 @@ setup(name='tww', install_requires=gen_from_file(), author_email='', license='MIT', - packages=[''], + packages=['tww'], + package_dir={'tww': 'src/tww'}, + package_data={'tww': ['data/*.csv']}, zip_safe=False) diff --git a/src/tww/__init__.py b/src/tww/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/tww/data/.cache.csv b/src/tww/data/.cache.csv new file mode 100644 index 0000000..6dd48bc --- /dev/null +++ b/src/tww/data/.cache.csv @@ -0,0 +1,6 @@ +zurich,47.3666667,8.5500002 +california,40.9066368,14.2958736 +bulgaria,43.0,25.0 +usa,39.7563889,46.7511101 +brazil,-10.0,-55.0 +sydney,-33.86785,151.2073212 diff --git a/data/cities.csv b/src/tww/data/cities.csv similarity index 100% rename from data/cities.csv rename to src/tww/data/cities.csv diff --git a/data/countries.csv b/src/tww/data/countries.csv similarity index 100% rename from data/countries.csv rename to src/tww/data/countries.csv diff --git a/test_tww.py b/src/tww/test_tww.py similarity index 100% rename from test_tww.py rename to src/tww/test_tww.py diff --git a/tww.py b/src/tww/tww.py similarity index 100% rename from tww.py rename to src/tww/tww.py