setup: Scan project dir to find packages
This eliminates the possibility of the filesystem and setup.py diverging, as had happened with ansible_mitogen/connection/ vs ansible_mitogen/connection.py
This commit is contained in:
parent
88c198ea05
commit
332e3ec5d0
9
setup.py
9
setup.py
|
@ -26,7 +26,7 @@
|
|||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from setuptools import setup
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
setup(
|
||||
name = 'mitogen',
|
||||
|
@ -35,12 +35,7 @@ setup(
|
|||
author = 'David Wilson',
|
||||
license = 'New BSD',
|
||||
url = 'https://github.com/dw/mitogen/',
|
||||
packages = [
|
||||
'mitogen',
|
||||
'ansible_mitogen',
|
||||
'ansible_mitogen.connection',
|
||||
'ansible_mitogen.strategy',
|
||||
],
|
||||
packages = find_packages(exclude=['tests', 'examples']),
|
||||
use_2to3=True,
|
||||
zip_safe = False,
|
||||
classifiers = [
|
||||
|
|
Loading…
Reference in New Issue