-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
53 lines (48 loc) · 1.61 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
import sys
from shutil import rmtree
from setuptools import setup, find_packages
if sys.argv[:2] == ["setup.py", "bdist_wheel"]:
# Remove previous build dir when creating a wheel build,
# since if files have been removed from the project,
# they'll still be cached in the build dir and end up
# as part of the build, which is unexpected.
try:
rmtree("build")
except:
pass
setup(
name="django-email-extras",
version=__import__("email_extras").__version__,
author="Stephen McDonald",
author_email="[email protected]",
description="A Django reusable app providing the ability to send PGP "
"encrypted and multipart emails using the Django templating "
"system.",
long_description=open("README.rst").read(),
url="https://github.com/stephenmcd/django-email-extras",
packages=find_packages(),
zip_safe=False,
include_package_data=True,
install_requires=[
"python-gnupg"
],
extras_require={
'dev': [
"sphinx-me",
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Framework :: Django",
"Topic :: Communications :: Email",
"Topic :: Security :: Cryptography",
]
)