2020-06-19 11:46:28 +02:00
|
|
|
import pathlib
|
|
|
|
|
2019-10-08 23:03:12 +02:00
|
|
|
import setuptools
|
|
|
|
|
|
|
|
|
2020-06-19 11:46:28 +02:00
|
|
|
THIS_FILE = pathlib.Path(__file__).absolute()
|
|
|
|
PROJECT_ROOT = THIS_FILE.parent.parent.parent
|
|
|
|
with open(PROJECT_ROOT.joinpath('version')) as fp:
|
|
|
|
VERSION = fp.read().strip()
|
|
|
|
|
|
|
|
|
2019-10-08 23:03:12 +02:00
|
|
|
setuptools.setup(
|
2019-11-17 17:41:35 +01:00
|
|
|
name='notmuch2',
|
2020-06-19 11:46:28 +02:00
|
|
|
version=VERSION,
|
2019-10-08 23:03:12 +02:00
|
|
|
description='Pythonic bindings for the notmuch mail database using CFFI',
|
|
|
|
author='Floris Bruynooghe',
|
|
|
|
author_email='flub@devork.be',
|
|
|
|
setup_requires=['cffi>=1.0.0'],
|
|
|
|
install_requires=['cffi>=1.0.0'],
|
|
|
|
packages=setuptools.find_packages(exclude=['tests']),
|
2019-11-17 17:41:35 +01:00
|
|
|
cffi_modules=['notmuch2/_build.py:ffibuilder'],
|
2019-10-08 23:03:12 +02:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Topic :: Communications :: Email',
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
],
|
|
|
|
)
|