Skip to content

Commit

Permalink
Use setuptools.find_packages to find packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
baijum committed Mar 17, 2007
1 parent f1c57a8 commit 069f854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os

from setuptools import setup, Extension
from setuptools import setup, find_packages

def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
Expand All @@ -38,7 +38,7 @@ def read(*rnames):
'**********************\n'
),

packages = ['RestrictedPython'],
packages = find_packages('src'),
package_dir = {'': 'src'},

tests_require = ['zope.testing'],
Expand Down

0 comments on commit 069f854

Please sign in to comment.