-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·46 lines (41 loc) · 1.21 KB
/
setup.py
File metadata and controls
executable file
·46 lines (41 loc) · 1.21 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
#!/usr/bin/env python
import os
import sys
from celery_mailer import __version__
from setuptools import setup
# Work around setuptools bug
# http://article.gmane.org/gmane.comp.python.peak/2509
import multiprocessing
def publish():
"""Publish to Pypi"""
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.exit()
setup(
name='django-celery-mailer',
version=__version__,
description='Django email backend that utilizes Celery for task execution.',
long_description=open('README.md').read(),
author='Funkbit',
author_email='post@funkbit.no',
url='https://github.com/funkbit/django-celery-mailer',
license='BSD',
packages=['celery_mailer'],
install_requires=[
'django-celery>=2.2.0',
],
tests_require=[
'django>=1.3,<1.5',
],
test_suite='test_project.test_runner.runtests',
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
)
)