Update setup.py so that data files are installed
This commit is contained in:
@@ -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
|
a subset of OpenDKIM options are supported. If an unsupported option is
|
||||||
specified, an error will be raised.
|
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
|
WARNING: This is an alpha grade release to support interoperability testing with
|
||||||
Ed25519 signatures and basic functionality. It is known to be incomplete and
|
Ed25519 signatures and basic functionality. It is known to be incomplete and
|
||||||
not suitable for general use.
|
not suitable for general use.
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."""
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."""
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
import os
|
||||||
|
|
||||||
description = "Domain Keys Identified Mail (DKIM) signing/verifying milter for Postfix/Sendmail."
|
description = "Domain Keys Identified Mail (DKIM) signing/verifying milter for Postfix/Sendmail."
|
||||||
|
|
||||||
@@ -46,12 +47,10 @@ setup(
|
|||||||
'dkimpy-milter = dkimpy_milter.__init__:main',
|
'dkimpy-milter = dkimpy_milter.__init__:main',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
package_data={'dkimpy_milter': [
|
include_package_data=True,
|
||||||
'etc/*',
|
data_files=[(os.path.join('share', 'man', 'man5'),
|
||||||
'man/*',
|
['man/dkimpy-milter.conf.5']), ('etc', ['etc/dkimpy-milter.conf'])],
|
||||||
]},
|
|
||||||
|
|
||||||
install_requires = ['dkimpy', 'pymilter', 'authres>=1.0.2'],
|
install_requires = ['dkimpy', 'pymilter', 'authres>=1.0.2'],
|
||||||
|
|
||||||
zip_safe = False,
|
zip_safe = False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user