-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (30 loc) · 776 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
35
36
37
# coding=utf-8
import sys
from setuptools.command.test import test as TestCommand
from setuptools import setup
def get_version():
return '0.01'
class PyTest(TestCommand):
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='smpp_server_mock',
version=get_version(),
url='http://github.com/hhru/smpp-server-mock/',
tests_require=['pytest'],
install_requires=[
'tornado>=4.0.0',
'SQLAlchemy>=1.0.0',
],
cmdclass={'test': PyTest},
description='Simple smpp server mock',
packages=['smpp_server_mock'],
include_package_data=True,
platforms='any',
test_suite='tests',
extras_require={
'testing': ['pytest'],
}
)