Skip to content

Commit ed257ad

Browse files
committed
python setup.py install to find sub-packages
1 parent 636f33a commit ed257ad

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*pyc
2+
*egg-info
3+
*egg

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
from distutils.core import setup
2-
from distutils.command.install import INSTALL_SCHEMES
31
import os
42

3+
from distutils.command.install import INSTALL_SCHEMES
4+
from setuptools import setup, find_packages
5+
56
root = os.path.dirname(os.path.abspath(__file__))
67
os.chdir(root)
78

8-
VERSION = '0.1.1'
9+
VERSION = '0.1.2'
910

1011
# Make data go to the right place.
1112
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
@@ -23,7 +24,7 @@
2324
url="http://github.com/codasus/django-sqlcipher",
2425
license="Creative Commons Attribution-ShareAlike 3.0 Unported License",
2526
platforms=["any"],
26-
packages=['sqlcipher'],
27+
packages=find_packages(),
2728
classifiers=[
2829
"Development Status :: 3 - Alpha",
2930
"Framework :: Django",

0 commit comments

Comments
 (0)