-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 1.06 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
import sys
from distutils.core import setup
import setuptools
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='postchi',
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
version='0.1.2',
description='A reliable async email sender for django',
author='Mahdi Zareie',
install_requires=["easy-job"],
tests_require=['django-setuptest'],
test_suite='setuptest.setuptest.SetupTestSuite',
py_modules=['tests.tests'],
author_email='[email protected]',
url='https://github.com/inb-co/postchi',
keywords=['postchi', 'async email sender', 'django email backend'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)