/
setup.py
34 lines (28 loc) · 964 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
#!/usr/bin/env python
from setuptools import setup, find_packages
def parse_requirements(filename):
with open(filename, "r") as f:
for line in f:
if line and line[:2] not in ("#", "-e"):
yield line.strip()
setup(
name="smtpbroker",
version="0.0.1",
description="Simple SMTP Broker",
long_description=open("README.rst", "r").read(),
author="James Mills",
author_email="James Mills, prologic at shortcircuit dot net dot au",
url="https://github.com/openknot/smtpbroker",
download_url="https://github.com/openknot/smtpbroker/archive/master.zip",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2.7",
],
license="TBA",
keywords="smtp smtpbroker",
platforms="POSIX",
packages=find_packages("."),
install_requires=list(parse_requirements("requirements.txt")),
scripts=["smtpbroker.py"],
zip_safe=False
)