This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
65 lines (57 loc) · 1.77 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-
import os
from setuptools import setup
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
def get_readme():
readme_path = os.path.abspath(os.path.join(CURRENT_DIR, 'README.rst'))
if os.path.exists(readme_path):
with open(readme_path) as fp:
return fp.read()
return ""
setup(
name='mongo-mail-server',
version="0.1.1",
description='Python SMTP server with Gevent for recording messages in MongoDB',
long_description=get_readme(),
author='Stéphane RAULT',
author_email='[email protected]',
license='BSD',
classifiers=[
'Topic :: Communications :: Email',
'Topic :: Communications :: Email :: Mail Transport Agents',
'Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators'
],
url='https://github.com/radical-software/mongo-mail-server',
include_package_data=True,
zip_safe=False,
scripts=['mongo_mail_server.py'],
install_requires=[
'python-dateutil',
'gevent>=1.0',
'python-decouple',
'pymongo>=2.8',
'six',
],
setup_requires=[
'nose>=1.0'
],
tests_require=[
'nose>=1.0'
'coverage',
],
test_suite='nose.collector',
entry_points={
'console_scripts': [
'mongo-mail-server = mongo_mail_server:main',
'mongo-mail-reader = mongo_mail_server:main_reader',
],
},
)