From ed257adba0d64bda7d258af7c1625c5b37516ae1 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sun, 24 Apr 2016 15:49:52 +0200 Subject: [PATCH] python setup.py install to find sub-packages --- .gitignore | 3 +++ setup.py | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5a6f88 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*pyc +*egg-info +*egg diff --git a/setup.py b/setup.py index bc28ef4..96ba0ee 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,12 @@ -from distutils.core import setup -from distutils.command.install import INSTALL_SCHEMES import os +from distutils.command.install import INSTALL_SCHEMES +from setuptools import setup, find_packages + root = os.path.dirname(os.path.abspath(__file__)) os.chdir(root) -VERSION = '0.1.1' +VERSION = '0.1.2' # Make data go to the right place. # http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb @@ -23,7 +24,7 @@ url="http://github.com/codasus/django-sqlcipher", license="Creative Commons Attribution-ShareAlike 3.0 Unported License", platforms=["any"], - packages=['sqlcipher'], + packages=find_packages(), classifiers=[ "Development Status :: 3 - Alpha", "Framework :: Django",