mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-27 05:07:56 +01:00
3a42abb456
Attempt to avoid breaking "pip install ." As far as I can tell, we need to have a copy (not just a relative symlink) of the version file.
24 lines
798 B
Python
24 lines
798 B
Python
import setuptools
|
|
|
|
with open('version') as fp:
|
|
VERSION = fp.read().strip()
|
|
|
|
setuptools.setup(
|
|
name='notmuch2',
|
|
version=VERSION,
|
|
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']),
|
|
cffi_modules=['notmuch2/_build.py:ffibuilder'],
|
|
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',
|
|
],
|
|
)
|