From 2bf06bfee2c4a0321a3b518951a382c782f82600 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 20 Jan 2020 15:21:48 +0100 Subject: [PATCH] setup.py: include package data (#39115) --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8a59189..1287044 100755 --- a/setup.py +++ b/setup.py @@ -9,9 +9,9 @@ import subprocess import distutils import distutils.core import setuptools -from distutils.command.sdist import sdist +from setuptools.command.sdist import sdist from glob import glob -from os.path import splitext, basename, join as pjoin, dirname +from os.path import splitext, basename, join as pjoin import os from unittest import TextTestRunner, TestLoader import doctest @@ -97,6 +97,7 @@ setuptools.setup( license='GPLv3 or later', description='Common API to use all French online payment credit card ' 'processing services', + include_package_data=True, long_description=io.open( os.path.join( os.path.dirname(__file__),