Update setup.py so that data files are installed

This commit is contained in:
Scott Kitterman
2018-02-17 05:05:17 -05:00
parent f6157a006d
commit a803de3f54
2 changed files with 12 additions and 6 deletions
+8 -1
View File
@@ -6,6 +6,13 @@ The configuration file is designed to be compatible with OpenDKIM, but only
a subset of OpenDKIM options are supported. If an unsupported option is
specified, an error will be raised.
This package includes a default configuration file and man pages. For those
to be installed when installing using setup.py, the following incantation is
required because setuptools developers decided not being able to do this by
default is a feature:
python setup.py install --single-version-externally-managed --record=/dev/null
WARNING: This is an alpha grade release to support interoperability testing with
Ed25519 signatures and basic functionality. It is known to be incomplete and
not suitable for general use.
not suitable for general use.
+4 -5
View File
@@ -17,6 +17,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."""
from setuptools import setup
import os
description = "Domain Keys Identified Mail (DKIM) signing/verifying milter for Postfix/Sendmail."
@@ -46,12 +47,10 @@ setup(
'dkimpy-milter = dkimpy_milter.__init__:main',
],
},
package_data={'dkimpy_milter': [
'etc/*',
'man/*',
]},
include_package_data=True,
data_files=[(os.path.join('share', 'man', 'man5'),
['man/dkimpy-milter.conf.5']), ('etc', ['etc/dkimpy-milter.conf'])],
install_requires = ['dkimpy', 'pymilter', 'authres>=1.0.2'],
zip_safe = False,
)