-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
34 lines (28 loc) · 887 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import ast
import re
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('imapnotify/__init__.py', 'rb') as f:
version = str(
ast.literal_eval(_version_re.search(f.read().decode('utf-8')).group(1)))
install_requires = ['pytest-runner>=2.0,<3', 'aioimaplib>=0.5.14,<1.0.0',
'boltons>=16.5.0,<17.0.0']
tests_require = install_requires + ['pytest', 'mock']
setup(
name='imapnotify',
version=version,
url='',
license='MIT',
author='Alexandr Skurikhin',
author_email='[email protected]',
description='',
long_description=open('README.md').read(),
packages=['imapnotify'],
include_package_data=True,
install_requires=install_requires,
tests_require=tests_require,
entry_points={
'console_scripts': [
'pyimapnotify=imapnotify.cli:main',
],
})