setup.py: include package data (#39115)

This commit is contained in:
Benjamin Dauvergne 2020-01-20 15:21:48 +01:00
parent 73aa398b1b
commit 2bf06bfee2
1 changed files with 3 additions and 2 deletions

View File

@ -9,9 +9,9 @@ import subprocess
import distutils import distutils
import distutils.core import distutils.core
import setuptools import setuptools
from distutils.command.sdist import sdist from setuptools.command.sdist import sdist
from glob import glob 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 import os
from unittest import TextTestRunner, TestLoader from unittest import TextTestRunner, TestLoader
import doctest import doctest
@ -97,6 +97,7 @@ setuptools.setup(
license='GPLv3 or later', license='GPLv3 or later',
description='Common API to use all French online payment credit card ' description='Common API to use all French online payment credit card '
'processing services', 'processing services',
include_package_data=True,
long_description=io.open( long_description=io.open(
os.path.join( os.path.join(
os.path.dirname(__file__), os.path.dirname(__file__),