-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (39 loc) · 1.34 KB
/
setup.py
File metadata and controls
48 lines (39 loc) · 1.34 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import os
import setuptools
def get_install_requires():
install_requires = []
try:
import importlib
except ImportError:
install_requires.append('importlib')
try:
from collections import OrderedDict
except ImportError:
install_requires.append('ordereddict')
return install_requires
here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8', mode='r') as f:
long_description = f.read().strip()
setuptools.setup(
name='spamCleaner',
version='1.0.0',
author='Werner Kühn',
author_email='willi1wacker@gmx.de',
url='https://github.com/williwacker/spamCleaner',
description='Cleaning up your email account from spam',
packages=setuptools.find_packages(),
long_description=long_description,
keywords='spam imap',
zip_safe=False,
install_requires=["fuzzywuzzy[speedup]", "imapclient"] + get_install_requires(),
setup_requires=['setuptools-git-versioning<1.8.0'],
python_requires='>=3',
test_suite='runtests.runtests',
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Software Development',
],
)