Commit e510d296 authored by Sebastien Duthil's avatar Sebastien Duthil

usesetuptools.find_packages

parent 63638238
......@@ -4,15 +4,10 @@
import fnmatch
import os
from distutils.core import setup
from setuptools import setup
from setuptools import find_packages
def is_package(path):
is_svn_dir = fnmatch.fnmatch(path, '*/.svn*')
is_test_module = fnmatch.fnmatch(path, '*tests')
return not (is_svn_dir or is_test_module)
packages = [p for p, _, _ in os.walk('xivo_dao') if is_package(p)]
setup(
name='xivo-dao',
version='0.1',
......@@ -21,5 +16,5 @@ setup(
author_email='dev@avencall.com',
url='http://git.xivo.io/',
license='GPLv3',
packages=packages,
packages=find_packages(),
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment