From df75520104bc3512a1b4a8f6136cc154cf1f0a0c Mon Sep 17 00:00:00 2001 From: Tomasz Buchert Date: Sat, 29 Aug 2015 22:50:00 +0200 Subject: [PATCH] basic library --- setup.py | 6 ++++-- src/debocker/__init__.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 src/debocker/__init__.py diff --git a/setup.py b/setup.py index 964f957..38aa4c9 100644 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from os.path import join from codecs import open try: - from setuptools import setup + from setuptools import setup, find_packages except ImportError: - from distutils.core import setup + from distutils.core import setup, find_packages # Thanks requests with open('debocker', 'r') as fd: @@ -34,6 +34,8 @@ setup( license = "GPLv3+", zip_safe = False, scripts = ['debocker'], + packages = find_packages('src'), # include all packages under src + package_dir = { '': 'src' }, # tell distutils packages are under src data_files = data_files, classifiers = [ 'Environment :: Console', diff --git a/src/debocker/__init__.py b/src/debocker/__init__.py new file mode 100644 index 0000000..5c21d1e --- /dev/null +++ b/src/debocker/__init__.py @@ -0,0 +1 @@ +# init file -- 2.20.1