forked from matrixise/dsmtpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (42 loc) · 1.24 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
#!/usr/bin/env python
"""
setup.py
~~~~~~~~
:copyright: (c) 2013 by Stephane Wirtel <[email protected]>
:license: BSD, see LICENSE for more details
"""
import os
from setuptools import setup
from setuptools import find_packages
from dsmtpd import __version__
from dsmtpd import __name__
from dsmtpd import __author__
from dsmtpd import __author_email__
HERE = os.path.dirname(__file__)
with open(os.path.join(HERE, 'requirements.txt')) as fp:
requirements = fp.readlines()
with open('README.rst') as f:
README = f.read()
with open('CHANGES.rst') as f:
CHANGES = f.read()
classifiers = ["Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 1 - Planning"]
setup(
name=__name__,
version=__version__,
url='https://github.com/matrixise/dsmtpd',
description=('Simple SMTP Server for debugging'),
long_description='\n'.join([README, CHANGES]),
author=__author__,
author_email=__author_email__,
install_requires=requirements,
packages=find_packages(),
include_package_data=True,
license='BSD',
classifiers=classifiers,
entry_points="""
[console_scripts]
dsmtpd = dsmtpd._dsmtpd:main
"""
)